You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PolicyMappingProfiles.cs 444B

123456789101112131415161718
  1. using AutoMapper;
  2. using Diligent.WebAPI.Data.Entities;
  3. using Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo;
  4. namespace Diligent.WebAPI.Host.Mapper
  5. {
  6. public class PolicyMappingProfiles:Profile
  7. {
  8. public PolicyMappingProfiles()
  9. {
  10. //mongo
  11. CreateMap<InsurancePolicySaveDTO, InsurancePolicyMongo>();
  12. CreateMap<InsurancePolicyMongo, InsurancePolicyReturnDTO>();
  13. }
  14. }
  15. }