public static IReportInfo SalesAnalysisReport(IEnumerable <SaleAnalysisInfo> sales)
 {
     return(GetReportInfo(SelectYearsViewModel.Create(), p => ReportFactory.SalesAnalysisReport(sales, p.Years)));
 }
 public static IReportInfo ProductSalesSummary(IEnumerable <OrderItem> sales)
 {
     return(GetReportInfo(SelectYearsViewModel.Create(), p => ReportFactory.ProductSalesSummary(sales, p.Years)));
 }