Exemplo n.º 1
0
 public async Task <ActionResult> CreateUserRoleOwner(CreatePermissionsCommand command)
 {
     command.Key   = PermissionsHelper.Claims.UserRole;
     command.Value = PermissionsHelper.ClaimValues.OwnerRole;
     return(await this.SendCreateCommand(command));
 }
Exemplo n.º 2
0
 public async Task <ActionResult> CreateOrUpdateUserRole(CreatePermissionsCommand command)
 => await this.SendCreateCommand(command);