public static DataTable GetAllEmployees() { DAEmployee objDA = new DAEmployee(); DataTable Dtab = objDA.GetAllEmployees(); return(Dtab); }
public List <Employee> GetEmployees() { DAEmployee objDAEmployee = new DAEmployee(); List <Employee> lstemployees = new List <Employee>(); lstemployees = objDAEmployee.GetAllEmployees(); return(lstemployees); }