public IActionResult OnPost() { Rental.Renter = Renter; RentalRepository.CreateRental(Rental); return(Redirect($"~/RenterDetails/{Renter.Id}")); }