public static DataTable GetAllEmployees()
    {
        DAEmployee objDA = new DAEmployee();
        DataTable  Dtab  = objDA.GetAllEmployees();

        return(Dtab);
    }
Exemplo n.º 2
0
        public List <Employee> GetEmployees()
        {
            DAEmployee      objDAEmployee = new DAEmployee();
            List <Employee> lstemployees  = new List <Employee>();

            lstemployees = objDAEmployee.GetAllEmployees();
            return(lstemployees);
        }