internal ExternalProductApiPagedList(IExternalProductApiClient client, IList <Product> items, int pageIndex)
 {
     this.client = client ?? throw new ArgumentNullException(nameof(client));
     Items       = items ?? throw new ArgumentNullException(nameof(items));
     PageIndex   = pageIndex;
 }
Пример #2
0
 public ExternalProductApiRepository(
     IExternalProductApiClient client)
 {
     Client = client ?? throw new ArgumentNullException(nameof(client));
 }