private TRole LoadData(IBOIdentityRole boIdentityRole) { TRole role = null; if (boIdentityRole != null) { role = new TRole(); role.Id = (int)boIdentityRole.Id; role.Name = boIdentityRole.Name; } return(role); }
public IdentityRoleVm(IBOIdentityRole boIdentityRole) { Id = boIdentityRole.Id; Name = boIdentityRole.Name; }