internal void DeleteRole(AzRole role) { if (role == null) { return; } Roles.Remove(role); IAzScope.DeleteTask(role.Name); HasChanged = true; }
public void DeleteTask(string name) { if (_application != null) { _application.DeleteTask(name); } else { _scope.DeleteTask(name); } }