Пример #1
0
 public static CreateUserRoleDto ToCreateUserRole(this UserRoleStateDtoWrapper state)
 {
     return(state.ToCreateUserRole <CreateUserRoleDto>());
 }
Пример #2
0
 public static RemoveUserRoleDto ToRemoveUserRole(this UserRoleStateDtoWrapper state)
 {
     return(state.ToRemoveUserRole <RemoveUserRoleDto>());
 }
Пример #3
0
 public static MergePatchUserRoleDto ToMergePatchUserRole(this UserRoleStateDtoWrapper state)
 {
     return(state.ToMergePatchUserRole <MergePatchUserRoleDto>());
 }
Пример #4
0
 public static IUserRoleCommand ToCreateOrMergePatchUserRole(this UserRoleStateDtoWrapper state)
 {
     return(state.ToCreateOrMergePatchUserRole <CreateUserRoleDto, MergePatchUserRoleDto>());
 }