public async Task DeleteProductById(Guid id) { await ProductsServiceRefit .DeleteProductById(id); }
public async Task <List <Product> > SearchProductsByName(String name) { return(await ProductsServiceRefit .SearchProductsByName(name)); }
public async Task <List <Product> > GetProductById(String Id) { return(await ProductsServiceRefit .GetProductById()); }
public async Task AddProductToDatabase(Product product) { await ProductsServiceRefit .AddProduct(product); }
public async Task <List <Product> > GetProducts() { return(await ProductsServiceRefit .GetProducts()); }