public UserController(rentcarsContext context, IVehicle repo, IMapper mapper) { _mapper = mapper; _repo = repo; _context = context; }
public VehicleRepo(rentcarsContext context) { _context = context; }