public SubscriptionQueries(ILogger <SubscriptionQueries> logger, SubscriptionDb context, INexusModsGameQueries nexusModsGameQueries, INexusModsModQueries nexusModsModQueries) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _context = context ?? throw new ArgumentNullException(nameof(context)); _nexusModsGameQueries = nexusModsGameQueries ?? throw new ArgumentNullException(nameof(nexusModsGameQueries)); _nexusModsModQueries = nexusModsModQueries ?? throw new ArgumentNullException(nameof(nexusModsModQueries)); }
public SubscriptionRemove2CommandHandler(ILogger <SubscriptionRemove2CommandHandler> logger, ISubscriptionRepository subscriptionRepository, INexusModsGameQueries nexusModsGameQueries) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _subscriptionRepository = subscriptionRepository ?? throw new ArgumentNullException(nameof(subscriptionRepository)); _nexusModsGameQueries = nexusModsGameQueries ?? throw new ArgumentNullException(nameof(nexusModsGameQueries)); }