public ActionResult BlankRunningPlan(int Id)
 {
     var pdf = new Fpp.UI.Web.PDFs.RunningPlans(false).ProcessRequest(Id, new int[] { -1 });
     var showName = new Shows(Id).ShowName;
     showName = Regex.Replace(showName, @"[ ]", "_");
     Response.AppendHeader("Content-Disposition", "inline; filename=" + "RunningPlan_" + showName + ".pdf");
     return File(pdf, "application/pdf");
 }
 public ActionResult PrintRunningPlan(int ShowId, string Ids)
 {
     int[] UserIds = (from p in Ids.Split(',')
                      select Convert.ToInt32(p)).ToArray();
     var pdf = new Fpp.UI.Web.PDFs.RunningPlans(true).ProcessRequest(ShowId, UserIds);
     var ShowName = new Shows(ShowId).ShowName;
     ShowName = Regex.Replace(ShowName, @"[ ]", "_");
     Response.AppendHeader("Content-Disposition", "filename=" + "RunningPlan_" + ShowName + ".pdf");
     return File(pdf, "application/pdf");
 }