예제 #1
0
 public bool Delete(int id)
 {
     try
     {
         _itemDal.Delete(_itemDal.GetById(id));
     }
     catch
     {
         return(false);
     }
     return(true);
 }
예제 #2
0
 internal bool Delete(int id)
 {
     status = itemDal.Delete(id);
     return(status);
 }