public ActionResult Insert()//this action method displays the view of insert action method
        {
            CountryList = Dbclass.getCountry();

            ViewBag.L = CountryList;

            tblHotelDetail E = new tblHotelDetail();

            return(View(E));
        }
        public ActionResult Insert(tblHotelDetail E)// this action method is used to insert the data into  hoteldetail table
        {
            if (ModelState.IsValid)
            {
                CountryList = Dbclass.getCountry();
                ViewBag.L   = CountryList;
                ViewBag.msg = Dbclass.Inserthotel(E);

                return(View("Insert"));
            }
            CountryList = Dbclass.getCountry();
            ViewBag.L   = CountryList;
            return(View());
        }