public static IReportInfo CustomerLocationsDirectory(IEnumerable <Customer> customers)
 {
     return(GetReportInfo(SortDirectionViewModel.Create(), p => ReportFactory.CustomerLocationsDirectory(customers, p.SortDirection == SortOrderPrintMode.AscendingOrder)));
 }
 public static IReportInfo EmployeeDirectory(IEnumerable <Employee> employees)
 {
     return(GetReportInfo(SortDirectionViewModel.Create(), p => ReportFactory.EmployeeDirectory(employees, p.SortDirection == SortOrderPrintMode.AscendingOrder)));
 }
 public static IReportInfo CustomerContactsDirectory(Customer customer)
 {
     return(GetReportInfo(SortDirectionViewModel.Create(),
                          p => ReportFactory.CustomerContactsDirectory(customer.Employees, p.SortDirection == SortOrderPrintMode.AscendingOrder)));
 }
 public static IReportInfo ProductTopSalesPerson(IEnumerable <OrderItem> sales)
 {
     return(GetReportInfo(SortDirectionViewModel.Create(), p => ReportFactory.ProductTopSalesPerson(sales, p.SortDirection == SortOrderPrintMode.AscendingOrder)));
 }