Пример #1
0
 override protected int DeleteByID(int pID)
 {
     try
     {
         return(tData.USP_MenuItem_Delete(pID));
     }
     catch { return(0); }
 }
Пример #2
0
 override protected int DeleteByID(int pID)
 {
     try
     {
         DAMenuItem DAMenuItem = new DAMenuItem();
         DAMenuItem.USP_MenuItem_Delete(pID);
         return(1);
     }
     catch { return(0); }
 }