Exemple #1
0
 public Boolean Delete(tbl_000_SECTION record)
 {
     try
     {
         if (record == null)
         {
             throw new Exception("Invalid Parameter!");
         }
         if (!compdal.IsExistID(record.SECTIONCODE))
         {
             throw new Exception("Record does not exist!");
         }
         return(compdal.Delete(record));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #2
0
        public int Delete(int id)
        {
            SectionDAL sectionDl = new SectionDAL();

            return(sectionDl.Delete(id));
        }