15 lines
		
	
	
		
			368 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			368 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using ApplicationLayer.Services.AuthServices.Common;
 | |
| using AutoMapper;
 | |
| using Domains.Users;
 | |
| 
 | |
| namespace Infrastructure.Automapper.Profiles;
 | |
| 
 | |
| public class UserProfile : Profile
 | |
| {
 | |
|     public UserProfile()
 | |
|     {
 | |
|             CreateMap<AuthData, User>(MemberList.Destination)
 | |
|                 .ForMember(u => u.Role,
 | |
|                     opts => opts.Ignore());
 | |
|         }
 | |
| } |