public ActionResult ShowInfo(string show) { var model = new TVShowViewModel(show); if (model.Show == null) return HttpNotFound(); return Json(model, JsonRequestBehavior.AllowGet); }
// Seasons public ActionResult Seasons(string show) { var model = new TVShowViewModel(show); if (model.Show == null) return HttpNotFound(); return View(model); }