public async Task <IActionResult> Post([FromBody] CarDto carDto)
        {
            var car = new Car(carDto.Type, carDto.Name, carDto.Doors,
                              carDto.Seats, carDto.Year, carDto.Fuel);

            _carRepository.Add(car);
            await _carRepository.CommitAsync();

            return(Ok());
        }