Example #1
0
 public ProductModel(ICatalogueApi catalogueApi, IBasketApi basketApi)
 {
     this.catalogueApi = catalogueApi ?? throw new ArgumentNullException(nameof(catalogueApi));
     this.basketApi    = basketApi ?? throw new ArgumentNullException(nameof(basketApi));
 }