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)); }
public ZanoxCategoryHttpRepository(ZanoxProgramHttpRepository programRepository, ZanoxStoreMongoDbRepository storeRepository, ZanoxCouponRepository couponRepository) { _programRepository = programRepository.ThrowIfNull(nameof(programRepository)); _storeRepository = storeRepository.ThrowIfNull(nameof(storeRepository)); _couponRepository = couponRepository.ThrowIfNull(nameof(couponRepository)); }