Exemple #1
0
        public static EmployeeCollection FetchEmployeeListFromApi(string filterString)
        {
            ApiAdapter         apiAdapter         = new ApiAdapter();
            EmployeeCollection employeeCollection = apiAdapter.FetchEmployees(filterString);

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

            return(employeeCollection);
        }