public ActionResult Delete(string id)//this action method is used to delete the data from hoteldetail table { ViewBag.msg = Dbclass.Delhotel(id); return(View()); }