public ActionResult <VehicleTypesReadDto> CreateVehicle(VehicleTypesCreateDto VehicleCreateDto) { var vehicleModel = _mapper.Map <VehicleTypes>(VehicleCreateDto); _repo.CreateVehicle(vehicleModel); _repo.SaveChanges(); return(NoContent()); }