Esempio n. 1
0
 public CreateCountryGroupsCommandHandler(IIntegrationEventPublisherServiceService Eventcontext, ILogger <CreateCountryGroupsCommandHandler> logger, IIntegrationEventBlobService Eventblobcontext)
 {
     _CountryGroupsRepository = new CountryGroupsRepository(new TaxatHand_StgContext());
     _Eventcontext            = Eventcontext;
     _Eventblobcontext        = Eventblobcontext;
     _logger = logger;
 }
 public CreateCountryCommandHandler(IIntegrationEventPublisherServiceService Eventcontext, ILogger <CreateCountryCommandHandler> logger, IIntegrationEventBlobService Eventblobcontext, ICacheService <Countries, Countries> cacheService)
 {
     _CountryRepository = new CountryRepository(new TaxatHand_StgContext());
     _Eventcontext      = Eventcontext;
     _Eventblobcontext  = Eventblobcontext;
     _logger            = logger;
     _cacheService      = cacheService ?? throw new ArgumentNullException(nameof(cacheService));
 }