public int InsertUpdateEmployee(EmployeeDTO employee)
        {
            EmployeeDAL emp    = new EmployeeDAL();
            var         result = emp.AddEditEmployees(employee);

            return(result);
        }
예제 #2
0
 public int AddEditEmployees(EmployeeDTO Emp)
 {
     try
     {
         EmployeeDAL dal = new EmployeeDAL();
         return dal.AddEditEmployees(Emp);
     }
     catch (Exception ex)
     {
         ex.ToString();
     }
     return 0;
 }