public async Task <ActionResult <Cars> > PostCar(Cars car)
        {
            _context.Cars.Add(car);
            await _context.SaveChangesAsync();

            return(CreatedAtAction(nameof(GetCarById), new { id = car.Id }, car));
        }
        public async Task <ActionResult> DeleteVehicle(int id)
        {
            var vehicle = await _context.Vehicle.FindAsync(id);

            if (vehicle == null)
            {
                // RETURNS 404 ERROR
                return(NotFound());
            }
            else
            {
                _context.Vehicle.Remove(vehicle);
                await _context.SaveChangesAsync();

                // RETURNS 204 SUCCESS
                return(NoContent());
            }
        }