public Mutation( ILogger <Mutation> logger, IUserComicsHttpRepository comicHttpApiService, IStorageContainerHttpRepository storageContainerHttpRepository) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _comicApiRepository = comicHttpApiService ?? throw new ArgumentNullException(nameof(comicHttpApiService)); _storageContainerHttpRepository = storageContainerHttpRepository ?? throw new ArgumentNullException(nameof(storageContainerHttpRepository)); }
public Query( IComicHttpRepository comicHttpApiService, IUserComicsHttpRepository userComicsHttpRepository, IStorageContainerHttpRepository storageContainersRepository) { _comicHttpRepository = comicHttpApiService ?? throw new ArgumentNullException(nameof(comicHttpApiService)); _userComicsHttpRepository = userComicsHttpRepository ?? throw new ArgumentNullException(nameof(userComicsHttpRepository)); _storageContainersRepository = storageContainersRepository ?? throw new ArgumentNullException(nameof(storageContainersRepository)); }