public DevicesController( IDeviceCommunicationService deviceCommunicationService, DeviceCommunicationExtJsWeb.GpsCommunicationService.IGpsCommunicationContract gpsCommunicationContract, IDeviceRepository deviceRepository, IPacketRepository packetRepository, IEventRepository eventRepository, ICurrentEventRepository currentEventRepository, IRequstAckCommandRepository requstAckCommandRepository, ICacheDataRepository cacheDataRepository, IDeviceStateDocuments deviceStateDocuments, IDailyMileageRepository dailyMileageRepository, IGeoPointRepository geoPointRepository, ILogDocuments logDocuments) { DeviceCommunicationService = deviceCommunicationService; DeviceRepository = deviceRepository; PacketRepository = packetRepository; EventRepository = eventRepository; CurrentEventRepository = currentEventRepository; RequstAckCommandRepository = requstAckCommandRepository; CacheDataRepository = cacheDataRepository; DeviceStateDocuments = deviceStateDocuments; GpsCommunicationContract = gpsCommunicationContract; DailyMileageRepository = dailyMileageRepository; GeoPointRepository = geoPointRepository; LogDocuments = logDocuments; }
public AreaService(IMapper mapper) { _areaRepository = new AreaRepository(); _locationRepository = new LocationRepository(); _geopointRepository = new GeoPointRepository(); _mapper = mapper; }
public void SetUp() { _repository = new GeoPointRepository(); }
public GeoPointService(IGeoPointRepository geoPointRepository, IUnitOfWork unit) { _geoPointRepository = geoPointRepository; _unit = unit; }