public IActionResult Index() { (List <Car> availableCars, List <Car> bookedCars) = service.GetAllCars(); BookingIndexVM vm = new BookingIndexVM { AvailableCars = availableCars, BookedCars = bookedCars }; return(View(vm)); }
public IActionResult Index() { (List <Car> availableCars, List <Car> bookedCars) = service.GetAllCars(); BookingIndexVM vm = new BookingIndexVM { AvailableCars = availableCars, BookedCars = bookedCars }; return(View(vm)); }