Вытащил солюшен на уровень выше, чтобы прощё было дотнетить
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			This commit is contained in:
		
							
								
								
									
										18
									
								
								Infrastructure/Automapper/Profiles/PlaceOfWorkProfile.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								Infrastructure/Automapper/Profiles/PlaceOfWorkProfile.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| 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()) | ||||
|             .ReverseMap(); | ||||
|  | ||||
|         CreateMap<AddressModel, Address>().ReverseMap(); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user