public ActionResult ShowData(string environment, string system, string jobType, string submit, string jobsOrJobsets, string jobset, string jobname, string abortedOnly, string startDate, string endDate, string startTime, string endTime, string chartType, string chartSize, string yAxis) { if (submit.Equals(CAIndexViewModel.SUBMIT_RUNBOOK)) { return null; } else { JobDataModel jobData = new JobDataModel(); jobData.loadData(jobsOrJobsets, jobset, jobname, abortedOnly, startDate, endDate, startTime, endTime, chartType, chartSize, yAxis); if (submit.Equals(CAIndexViewModel.SUBMIT_LIST)) { if (jobsOrJobsets.Equals("jobs")) { return View("ShowListJobs", jobData); } else { return PartialView(); } } else { return PartialView(); } } }
public ActionResult showListJobsets(JobDataModel jobData) { return View(jobData); }
public ActionResult showListJobs(JobDataModel jobData) { return PartialView(jobData); }