using AutoMapper; using Volo.Abp.Identity; using Win_in.Sfs.Auth.Users.Inputs; namespace Win_in.Sfs.Auth; public partial class AuthApplicationAutoMapperProfile : Profile { public AuthApplicationAutoMapperProfile() { /* You can configure your AutoMapper mapping configuration here. * Alternatively, you can split your mapping configurations * into multiple profile classes for a better organization. */ CreateMap() .MapExtraProperties(); CreateMap() .MapExtraProperties(); CreateMap() .MapExtraProperties(); CreateMap() .MapExtraProperties(); CreateMap() .MapExtraProperties(); CreateMap() .MapExtraProperties(); CreateMap() .MapExtraProperties() .ForMember(x => x.NormalizedEmail, y => y.MapFrom(d => d.Email.ToUpper())) .ForMember(x => x.NormalizedUserName, y => y.MapFrom(d => d.Name.ToUpper())); DepartmentAutoMapperProfile(); } }