file-scoped namespaces
This commit is contained in:
		| @@ -2,15 +2,14 @@ | ||||
| using AutoMapper; | ||||
| using Domains.Users; | ||||
|  | ||||
| namespace Infrastructure.Automapper.Profiles | ||||
| namespace Infrastructure.Automapper.Profiles; | ||||
|  | ||||
| public class UserProfile : Profile | ||||
| { | ||||
|     public class UserProfile : Profile | ||||
|     public UserProfile() | ||||
|     { | ||||
|         public UserProfile() | ||||
|         { | ||||
|             CreateMap<AuthData, User>(MemberList.Destination) | ||||
|                 .ForMember(u => u.Role, | ||||
|                     opts => opts.Ignore()); | ||||
|         } | ||||
|     } | ||||
| } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user