예제 #1
0
 public static CreatePermissionDto ToCreatePermission(this PermissionStateDtoWrapper state)
 {
     return(state.ToCreatePermission <CreatePermissionDto>());
 }
예제 #2
0
 public static DeletePermissionDto ToDeletePermission(this PermissionStateDtoWrapper state)
 {
     return(state.ToDeletePermission <DeletePermissionDto>());
 }
예제 #3
0
 public static MergePatchPermissionDto ToMergePatchPermission(this PermissionStateDtoWrapper state)
 {
     return(state.ToMergePatchPermission <MergePatchPermissionDto>());
 }
예제 #4
0
 public static IPermissionCommand ToCreateOrMergePatchPermission(this PermissionStateDtoWrapper state)
 {
     return(state.ToCreateOrMergePatchPermission <CreatePermissionDto, MergePatchPermissionDto>());
 }