Пример #1
0
        public ActionResult Index(IEnumerable <int> dealershipIds, DateTime start, DateTime end)
        {
            var dealerships = repository.Get(dealershipIds);
            var builder     = new DealershipPerformanceReportBuilderUsingMediator();
            var viewModel   = builder.BuildReport(dealerships, start, end);

            return(View(viewModel));
        }
        public ActionResult Index(IEnumerable<int> dealershipIds, DateTime start, DateTime end)
        {
            var dealerships = repository.Get(dealershipIds);
            var builder = new DealershipPerformanceReportBuilderUsingMediator();
            var viewModel = builder.BuildReport(dealerships, start, end);

            return View(viewModel);
        }