Ejemplo n.º 1
0
 public PartnerServiceCache(IPartnerServiceRepository partnerService, ICacheManager cacheManager)
     : base(partnerService)
 {
     partnerService.ThrowIfNull(nameof(partnerService));
     cacheManager.ThrowIfNull(nameof(cacheManager));
     _cacheManager = cacheManager;
 }
Ejemplo n.º 2
0
        public PartnerServiceDecorator(IPartnerServiceRepository partnerService)
        {
            partnerService.ThrowIfNull(nameof(partnerService));

            _partnerService = partnerService;
        }