コード例 #1
0
 public async Task <ActionResult> CreateUserRoleOwner(CreatePermissionsCommand command)
 {
     command.Key   = PermissionsHelper.Claims.UserRole;
     command.Value = PermissionsHelper.ClaimValues.OwnerRole;
     return(await this.SendCreateCommand(command));
 }
コード例 #2
0
 public async Task <ActionResult> CreateOrUpdateUserRole(CreatePermissionsCommand command)
 => await this.SendCreateCommand(command);