Exemplo n.º 1
0
 public ZanoxCouponRepository(ZanoxHttpSettings zanoxSettings, HttpClient client, IMapper mapper, ZanoxStoreMongoDbRepository storeRepository)
 {
     _client          = client.ThrowIfNull(nameof(client));
     _zanoxSettings   = zanoxSettings.ThrowIfNull(nameof(zanoxSettings));
     _mapper          = mapper.ThrowIfNull(nameof(mapper));
     _storeRepository = storeRepository.ThrowIfNull(nameof(storeRepository));
 }
Exemplo n.º 2
0
 public ZanoxStoreHttpRepository(ZanoxHttpSettings zanoxSettings, HttpClient client, IMapper mapper, ZanoxProgramHttpRepository programRepository, ZanoxCouponMongoDbRepository couponRepository)
 {
     _client            = client.ThrowIfNull(nameof(client));
     _zanoxSettings     = zanoxSettings.ThrowIfNull(nameof(zanoxSettings));
     _mapper            = mapper.ThrowIfNull(nameof(mapper));
     _programRepository = programRepository.ThrowIfNull(nameof(programRepository));
     _couponRepository  = couponRepository.ThrowIfNull(nameof(ZanoxCouponMongoDbRepository));
 }
Exemplo n.º 3
0
 public ZanoxProgramHttpRepository(ZanoxHttpSettings zanoxSettings, HttpClient client)
 {
     _client        = client.ThrowIfNull(nameof(client));
     _zanoxSettings = zanoxSettings.ThrowIfNull(nameof(zanoxSettings));
 }