示例#1
0
 public static CreateRoleDto ToCreateRole(this RoleStateDto state)
 {
     return(state.ToCreateRole <CreateRoleDto>());
 }
示例#2
0
 public static DeleteRoleDto ToDeleteRole(this RoleStateDto state)
 {
     return(state.ToDeleteRole <DeleteRoleDto>());
 }
示例#3
0
 public static MergePatchRoleDto ToMergePatchRole(this RoleStateDto state)
 {
     return(state.ToMergePatchRole <MergePatchRoleDto>());
 }
示例#4
0
 public static IRoleCommand ToCreateOrMergePatchRole(this RoleStateDto state)
 {
     return(state.ToCreateOrMergePatchRole <CreateRoleDto, MergePatchRoleDto>());
 }