public IActionResult Quote(RentalQuote quote)
 {
     if (ModelState.IsValid)
     {
         quoteService.GenerateRentalQuote(quote);
         return(RedirectToAction("Confirmation", "Insurance"));
     }
     else
     {
         logger.LogInformation("Bad model", quote);
         return(View(quote));
     }
 }
Пример #2
0
 public void GenerateRentalQuote(RentalQuote quote)
 {
     // todo
 }
Пример #3
0
 public IActionResult Quote(RentalQuote quote)
 {
     quoteService.GenerateRentalQuote(quote);
     return(RedirectToAction("Insurance", "Confirmation"));
 }