Пример #1
0
        //Delete Category
        public static int DeleteCategory_BL(int Catid)
        {
            int rowsAffected = 0;

            try
            {
                rowsAffected = Category_DAL.DeleteCategory(Catid);
            }
            catch (SqlException ex)
            {
                throw ex;
            }
            catch (HRMSException ex)
            {
                throw ex;
            }
            return(rowsAffected);
        }
Пример #2
0
 public bool DeleteCategory(int cID)
 {
     return(dal.DeleteCategory(cID));
 }