Example #1
0
 public void Delete(BECategory Category)
 {
     try
     {
         int CategoryId = Category.CategoryId;
         sqlHelper = new SQLHelper(true);
         daCategory.Delete(sqlHelper, CategoryId);
         sqlHelper.CommitTran();
     }
     catch (Exception ex)
     {
         RnD.BLTemp.Common.Utility.SaveErrorLog(this.GetType().ToString(), "", ex);
         if (sqlHelper != null)
         {
             sqlHelper.Rollback();
         }
         throw ex;
     }
 }
 public void Delete(int id)
 {
     dal.Delete(id);
 }