Exemple #1
0
 public void Submit()
 {
     if (_scope != null)
     {
         _scope.Submit();
     }
     else
     {
         _application.Submit();
     }
 }
Exemple #2
0
        protected override void OnSaving()
        {
            if (IsNew)
            {
                IAzItem = Application.CreateScope(Name, Description);
            }
            else
            {
                IAzScope.Name        = Name;
                IAzScope.Description = Description;
            }

            Roles.ForEach(r => r.Save());
            Groups.ForEach(g => g.Save());
            RoleAssignments.ForEach(r => r.Save());

            IAzScope.Submit();
        }