public static CreatePermissionDto ToCreatePermission(this PermissionStateDtoWrapper state) { return(state.ToCreatePermission <CreatePermissionDto>()); }
public static DeletePermissionDto ToDeletePermission(this PermissionStateDtoWrapper state) { return(state.ToDeletePermission <DeletePermissionDto>()); }
public static MergePatchPermissionDto ToMergePatchPermission(this PermissionStateDtoWrapper state) { return(state.ToMergePatchPermission <MergePatchPermissionDto>()); }
public static IPermissionCommand ToCreateOrMergePatchPermission(this PermissionStateDtoWrapper state) { return(state.ToCreateOrMergePatchPermission <CreatePermissionDto, MergePatchPermissionDto>()); }