oop_II-6/Client/Client/Models/AutomapperProfile.cs

23 lines
594 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
namespace Client
{
class AutomapperProfile: Profile
{
public AutomapperProfile()
{
CreateMap<EHEC_Service.Patient, Patient>();
CreateMap<EHEC_Service.Doctor, Doctor>();
CreateMap<EHEC_Service.Exam, Exam>();
CreateMap<EHEC_Service.Origin, Origin>();
CreateMap<EHEC_Service.Origin_Exam, Origin_Exam>();
CreateMap<EHEC_Service.Result,Result>();
}
}
}