Example #1
0
 public async Task SetRoleAsUntrusted(UntrustCommand trustCommand, Contexts contexts)
 {
     await this._trustRolesService.DontTrustThisRole(trustCommand.Role, contexts);
 }
 public Task SetRoleAsUntrusted(UntrustCommand trustCommand, Contexts contexts)
 {
     return(this._trustRolesService.StopTrustingRole(trustCommand.Role, contexts));
 }