Exemplo n.º 1
0
 public GatewayService(IGatewayRepository gatewayRepository, IPeripheralRepository peripheralRepository, IMapper mapper)
 {
     this.gatewayRepository    = gatewayRepository;
     this.peripheralRepository = peripheralRepository;
     this.mapper = mapper;
 }
Exemplo n.º 2
0
 public PeripheralService(IPeripheralRepository repository, IPeripheralFactory factory)
 {
     _repository = repository;
     _factory    = factory;
 }