public ActionResult AddRoomType(Roomtype roomtype) { try { _hotelReservationService.SaveRoomType(roomtype); ViewBag.SuccessMessage = "Room Type Added Successfully"; } catch (Exception) { ViewBag.ErrorMessage = "Failed to Save!"; } return(View()); }