public ActionResult SetIndex(int JobId) { ViewBag.modeldata = _quartzrepository.FindById(JobId); return(View()); }