예제 #1
0
        public ActionResult <Car> Create(Car car)
        {
            _carService.Create(car);

            return(CreatedAtRoute("GetCar", new { id = car.CarId }, car));
        }