public PartnerServiceCache(IPartnerServiceRepository partnerService, ICacheManager cacheManager) : base(partnerService) { partnerService.ThrowIfNull(nameof(partnerService)); cacheManager.ThrowIfNull(nameof(cacheManager)); _cacheManager = cacheManager; }
public PartnerServiceDecorator(IPartnerServiceRepository partnerService) { partnerService.ThrowIfNull(nameof(partnerService)); _partnerService = partnerService; }