An Abp Blazor Theme based Ant-Design-Blazor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
537 B

using AutoMapper;
using Volo.Abp.AutoMapper;
using Volo.Abp.Identity;
namespace Lsw.Abp.IdentityManagement.Blazor.AntDesignUI;
public class AbpIdentityBlazorAntDesignAutoMapperProfile: Profile
{
public AbpIdentityBlazorAntDesignAutoMapperProfile()
{
CreateMap<IdentityUserDto, IdentityUserUpdateDto>()
.MapExtraProperties()
.Ignore(x => x.Password)
.Ignore(x => x.RoleNames);
CreateMap<IdentityRoleDto, IdentityRoleUpdateDto>()
.MapExtraProperties();
}
}