public string DeleteEmployee(int EmpId, string Visibility, string p_rc, string role) { try { DLLEmployee obj = new DLLEmployee(); return(obj.DeleteEmployee(EmpId, Visibility, p_rc, role)); } catch (Exception ex) { throw (ex); } }
public string DeleteEmployee(int?empID) { string msg = ""; try { DLLEmployee dlEmployee = new DLLEmployee(); msg = dlEmployee.DeleteEmployee(empID); } catch (Exception ex) { msg = ex.Message; } return(msg); }