/// <summary> /// Возвращает историю запуска отчета /// </summary> /// <param name="jobName">Имя задания в Quartz</param> /// <returns></returns> public ActionResult RunHistory(string jobName) { ViewData["repName"] = $"История запусков отчета \"{h.GetReportName(jobName)}\""; var model = DB.reportrunlogwithuser.Where(x => x.JobName == jobName).OrderByDescending(x => x.RunStartTime).ToList(); return(View(model)); }