public ActionResult ProdStandardDocumentViewerExport() { ProductStandardMinMaxReport report = new ProductStandardMinMaxReport(); return(DocumentViewerExtension.ExportTo(report)); //return PartialView("ProdBarcodeMissingIndex", model); }
public ActionResult ProdStandardDocumentViewerPartial() { var britishZone = TimeZoneInfo.FindSystemTimeZoneById("GMT Standard Time"); var adjusteddate = TimeZoneInfo.ConvertTime(DateTime.Now, TimeZoneInfo.Local, britishZone); ProductStandardMinMaxReport report = new ProductStandardMinMaxReport(); DateTime STARTDATE = adjusteddate.AddDays(-7); report.Parameters["StartDate"].Value = STARTDATE; report.Parameters["EndDate"].Value = adjusteddate; report.Parameters["StandardTest"].Value = "0"; report.Parameters["Recipe"].Value = "0"; report.RequestParameters = false; return(PartialView("_ProdStandardDocumentViewerPartial", report)); //return PartialView("ProdBarcodeMissingIndex", model); }