public ActionResult Create(bookingPatient bo) { try { // TODO: Add insert logic here b.resquestBooking(bo); TempData["msg"] = "Dear " + bo.FullName + " your resquest is being Process and you will receive an email shortly"; return(RedirectToAction("succussfully", "Booking")); } catch { TempData["Msg"] = "Dear " + bo.FullName + "an error occured during the process please try again"; return(View()); } }