Example #1
0
 public string SaveEmployee(Employee objEmployee)
 {
     EmployeeDAL objCustomerDAL = new EmployeeDAL();
     try
     {
         return objCustomerDAL.InsertEmployee(objEmployee);
     }
     catch(Exception exp)
     {
         throw (exp);
     }
 }
Example #2
0
 public DataTable GetAllEmployee()
 {
     EmployeeDAL objCustomerDAL = new EmployeeDAL();
     try
     {
         return objCustomerDAL.GetAllEmployee();
     }
     catch(Exception exp)
     {
         throw (exp);
     }
 }