public IActionResult Quote(RentalQuote quote) { if (ModelState.IsValid) { quoteService.GenerateRentalQuote(quote); return(RedirectToAction("Confirmation", "Insurance")); } else { logger.LogInformation("Bad model", quote); return(View(quote)); } }
public void GenerateRentalQuote(RentalQuote quote) { // todo }
public IActionResult Quote(RentalQuote quote) { quoteService.GenerateRentalQuote(quote); return(RedirectToAction("Insurance", "Confirmation")); }