public ActionResult Deletebooking(int id) //here we will do booking values deleted based on some validations { ViewBag.msg = Dbclass.Delbooking(id); return(View()); }