Exemple #1
0
 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));
 }
Exemple #2
0
 public IActionResult SelectDates(CheckRatesViewModel model)
 {
     return(View(model));
 }