public MoviesRepository(OMDbContext context, IHttpClientFactory httpClientFactory) { _context = context ?? throw new ArgumentNullException(nameof(context)); _httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory)); _constants = new Constants(); }
public RatingsRepository(OMDbContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public TransactionRepository(OMDbContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }