public IActionResult Details(string Id) { if (HttpContext.Session.GetString("ID") == null) { return(RedirectToAction("Login", "Admin")); } else { ViewBag.listGetHotels = tourRepository.listGetHotels(Id); return(View(tourRepository.getTour(Id))); } }