Пример #1
0
 internal void DeleteRole(AzRole role)
 {
     if (role == null)
     {
         return;
     }
     Roles.Remove(role);
     IAzScope.DeleteTask(role.Name);
     HasChanged = true;
 }
Пример #2
0
 public void DeleteTask(string name)
 {
     if (_application != null)
     {
         _application.DeleteTask(name);
     }
     else
     {
         _scope.DeleteTask(name);
     }
 }