从另一个控制器调用Action后获取ControllerContext的错误: -
var pdfBytes = new ViewAsPdf("MonthlyReport", GetOverAllSales)
{
PageWidth = 215.9,
PageHeight = 279.4,
PageMargins = new Rotativa.Options.Margins(4, 6, 4, 4)
}.BuildFile(ControllerContext);
var fileName = "MonthlySalesReport_" + DateTime.Now.Ticks + ".pdf";