public IActionResult Index(CheckRatesViewModel model) { if (ModelState.IsValid) { return(RedirectToAction("ChooseRoom", "Reservations", new { checkInDate = model.CheckInDate, checkOutDate = model.CheckOutDate, adults = model.Adults, children = model.Children, promo = model.Promo })); } return(View(model)); }
public IActionResult SelectDates(CheckRatesViewModel model) { return(View(model)); }