public void CompileReport() { var employeeList = _employeeStorage.GetEmployees(); var report = _reportFormatting.FormatReport(employeeList); _rendition.Render(report); }
public PagedList <Employee> GetAll(int pageNumber = 1, int pageSize = 20, string orderBy = "Id", Model.SortingOrder sortingOrder = Model.SortingOrder.DESC) { return(_storage.GetEmployees(pageNumber, pageSize, orderBy, sortingOrder)); }