// // GET: /JobType/Details/5 public ActionResult Details(int id = 0) { JobType jobtype = objSourceMastersModel.GetJobTypeById(id); if (jobtype == null) { return(HttpNotFound()); } return(View(jobtype)); }