public ActionResult PlaceReservation(ReservationViewModel reservationviewmodel) { var convertedmodel = ReservationViewModel.ConvertReservationViewModelToModel(reservationviewmodel); bool result = services.CheckForDate(convertedmodel); bool resulttodaydate = services.CorrectStartDate(convertedmodel); bool resultdateplacement = services.IsEndDateGreaterThenStartDate(convertedmodel); if (result && resultdateplacement && resulttodaydate == true) { _reservationlogic.PlaceReservation(convertedmodel); return RedirectToAction("Succes"); } else { TempData["ErrorReservation"] = "An Error has occured have you put in the correct input?"; return View(); } }