예제 #1
0
 public static CreateUserRoleDto ToCreateUserRole(this UserRoleStateDto state)
 {
     return(state.ToCreateUserRole <CreateUserRoleDto>());
 }
예제 #2
0
 public static RemoveUserRoleDto ToRemoveUserRole(this UserRoleStateDto state)
 {
     return(state.ToRemoveUserRole <RemoveUserRoleDto>());
 }
예제 #3
0
 public static MergePatchUserRoleDto ToMergePatchUserRole(this UserRoleStateDto state)
 {
     return(state.ToMergePatchUserRole <MergePatchUserRoleDto>());
 }
예제 #4
0
 public static IUserRoleCommand ToCreateOrMergePatchUserRole(this UserRoleStateDto state)
 {
     return(state.ToCreateOrMergePatchUserRole <CreateUserRoleDto, MergePatchUserRoleDto>());
 }