public ActionResult Index(string ID) { if (Session[UtilContants.USER_LOGIN] == null) { return(RedirectToAction("Index", "Home")); } else { if (ID == null || ID.Length == 0) { return(RedirectToAction("Error", "Home", new { message = "Trang không tồn tại" })); } else { ViewBag.isActive = UtilContants.PLACE_NAV; ITourService _tourService = new TourService(); return(View(_tourService.getTourByID(ID))); } } }