Added validation and fixed errors
This commit is contained in:
		| @@ -0,0 +1,16 @@ | ||||
| using ApplicationLayer.Services.Applicants.Models; | ||||
| using AutoMapper; | ||||
| using Domains.ApplicantDomain; | ||||
|  | ||||
| namespace Infrastructure.Automapper.Profiles | ||||
| { | ||||
|     public class PlaceOfWorkProfile : Profile | ||||
|     { | ||||
|         public PlaceOfWorkProfile() | ||||
|         { | ||||
|             CreateMap<PlaceOfWorkModel, PlaceOfWork>(MemberList.Destination) | ||||
|                 .ForMember(p => p.Id, | ||||
|                     opts => opts.UseDestinationValue()); | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user