public GatewayService(IGatewayRepository gatewayRepository, IPeripheralRepository peripheralRepository, IMapper mapper) { this.gatewayRepository = gatewayRepository; this.peripheralRepository = peripheralRepository; this.mapper = mapper; }
public PeripheralService(IPeripheralRepository repository, IPeripheralFactory factory) { _repository = repository; _factory = factory; }