public ActionResult SalesReport(DateTime startDate)
        {
            ViewBag.StartDate = startDate;

            // TODO: Ninject
            var service = new SalesOrderReportService(new SalesOrderReportEfRepository());

            //var service = new SalesOrderReportService(new SalesOrderReportDapperRepository());
            return(View(service.GetSalesYtdReportData(startDate)));
        }
        public void GetSalesYtdReportData_ValidDate_DoesNotThrow()
        {
            var service = new SalesOrderReportService(new SalesOrderReportDapperRepository());

            using (new TimingsHelper())
            {
                var result = service.GetSalesYtdReportData(DateTime.Now);
                Debug.Print(result.Count() + " records returned");
            }
        }