public ActionResult Details(int id) { if (Session["vid"].ToString() == "103") { return(View(prepo.Details(id))); } else { return(RedirectToAction("Index", "Index")); } }
public ActionResult Details(int id) { if (Session["vid"].ToString() == "103") { return(View(prepo.Details(id))); } else { return(RedirectToAction("Index", "Index")); } }