public ActionResult Create(ReservationVM reservation) { if (ModelState.IsValid) { TempData["ReservationId"] = ReservationManager.AddReservationAsync( reservation.Firstname, reservation.Lastname, reservation.Arrival, reservation.Departure, reservation.RoomIds ); TempData["Firstname"] = reservation.Firstname; TempData["Lastname"] = reservation.Lastname; return(RedirectToAction("Index", "Hotel")); } TempData["ViewData"] = ViewData; return(RedirectToAction("Hotel")); }