Exemple #1
0
        public IActionResult Booking(OrderVM order)
        {
            if (!ModelState.IsValid)
            {
                return(View());
            }

            service.BookCar(order);
            return(RedirectToAction(nameof(Index)));
        }