Ejemplo n.º 1
0
 //udpate merely updates the repository a commit is required
 //to commit it to the db...
 private bool Update(MenuItemType item)
 {
     _serviceAgent.UpdateMenuItemTypeRepository(item);
     Dirty = true;
     if (CommitIsAllowed())
     {
         AllowCommit = true;
     }
     else
     {
         AllowCommit = false;
     }
     return(AllowCommit);
 }