public VehicleQueryServiceTests() { _mDateTimeService = new Mock <IDateTimeService>(); _mVehicleQueryRepository = new Mock <IReadRepository <VehicleQuery> >(); _service = new VehicleQueryService(_mVehicleQueryRepository.Object, _mDateTimeService.Object); }
public VehiclesController(IVehicleQueryService vehicleQueryService, ICommandBus commandBus, IMapper mapper) { _vehicleQueryService = vehicleQueryService; _commandBus = commandBus; _mapper = mapper; }
public QueryCountFunction(IVehicleQueryService vehicleQueryService, IEmailService emailService, IReaderService <Stream> readerService, IJsonConverter jsonConverter) { _vehicleQueryService = vehicleQueryService; _emailService = emailService; _readerService = readerService; _jsonConverter = jsonConverter; }