public async Task <IActionResult> AddHotel(string Id, string txtSearch, int page = 1)
        {
            if (HttpContext.Session.GetString("ID") == null)
            {
                return(RedirectToAction("Login", "Admin"));
            }
            else
            {
                if (Id == null)
                {
                    //Error
                    return(RedirectToAction("NotFoundPage", "Home"));
                }
                else
                {
                    if (!string.IsNullOrEmpty(txtSearch))
                    {
                        dynamic querySearch = tourRepository.findHotels(txtSearch);
                        if (querySearch != null)
                        {
                            ViewBag.SearchValue = txtSearch;
                            return(View(await PagingList.CreateAsync(querySearch, 10, page)));
                        }
                        else
                        {
                            ViewBag.Empty("Not Found.");
                            return(View());
                        }
                    }
                    //get temData from AddHotels method
                    if (TempData["Error"] != null)
                    {
                        ViewBag.Error = TempData["Error"].ToString();
                    }

                    ViewBag.TourID = Id;
                    dynamic query = tourRepository.getAllHotels;
                    return(View(await PagingList.CreateAsync(query, 10, page)));
                }
            }
        }