public ActionResult Edit(ViewModels.Reservation model, int id)
        {
            if (ModelState.IsValid)
            {
                var dbReservation = reservationRepository.GetById(id);
                dbReservation.InjectFrom(model);
                reservationServices.EditReservation(dbReservation);
            }

            return(RedirectToAction("Index"));
        }
        public IActionResult Edit(EditReservationViewModel editReservation)
        {
            bool result = reservationServices.EditReservation(editReservation);

            if (!result)
            {
                return(View(editReservation));
            }
            else
            {
                return(Redirect("/"));
            }
        }