public async ValueTask <ProductCollection> GetProducts() { return(new ProductCollection { Items = await _inventory.GetAll() }); }
public Task <ICollection <Product> > GetProducts() { return(_inventory.GetAll()); }
public async ValueTask <ProductCollection> GetProducts() { return(new ProductCollection { Items = await _inventory.GetAll() }); }
public Task <ICollection <Product> > GetProducts() { return(_inventory.GetAll()); }