public ActionResult ProductSoldList(DateTime?initialDate, DateTime?endDate) { ViewBag.Action = "ProductSoldList"; ViewBag.ReportName = "Products Sold Per Date Range"; return(PartialView("ProductReportList", model.GetProductsSold(new Period { InitialDate = initialDate, EndDate = endDate }))); }