Esempio n. 1
0
        //Delete Employee
        public static int DeleteEmployee_BL(int id)
        {
            int rowsAffected = 0;

            try
            {
                rowsAffected = Employee_DAL.DeleteEmployee(id);
            }
            catch (SqlException ex)
            {
                throw ex;
            }
            catch (HRMSException ex)
            {
                throw ex;
            }
            return(rowsAffected);
        }
Esempio n. 2
0
 public int Delete(int Id)
 {
     return(objemp.DeleteEmployee(Id));
 }