public ActionResult Index1(string Id, string clickinfo, string sessionvalue)
        {
            var db = new HolidayPlanner.Models.InfoData();
            var db1 = new HolidayPlanner.Models.DataClasses1DataContext();
            var cname = (from c in db1.Cities
                         where c.CityId == Id
                         select c.CityName).SingleOrDefault();

            ViewData["Name"] = cname;

            TempData["Data"] = Id;
            switch (clickinfo)
            {

                case "hotels":
                    {
                        List<Hotel> abc = (from hot in db.Hotels
                                           where hot.CityId == Id
                                           select hot).ToList();
                        return View("Index1",abc);
                    }
    
            }
            return View();
        }
 public AddressRepository()
 {
     _dataContext = new DataClasses1DataContext();
 }