Ejemplo n.º 1
0
        public static EmployeeCollection FetchEmployeeListFromApi(string filterString)
        {
            ApiAdapter         apiAdapter         = new ApiAdapter();
            EmployeeCollection employeeCollection = apiAdapter.FetchEmployees(filterString);

            return(employeeCollection);
        }
Ejemplo n.º 2
0
        /*
         * Fetch employee list from the api
         */
        public static EmployeeCollection FetchEmployeeListFromApi()
        {
            ApiAdapter         apiAdapter         = new ApiAdapter();
            EmployeeCollection employeeCollection = apiAdapter.FetchEmployees(null);

            return(employeeCollection);
        }