예제 #1
0
 public async Task DeleteProductById(Guid id)
 {
     await ProductsServiceRefit
     .DeleteProductById(id);
 }
예제 #2
0
 public async Task <List <Product> > SearchProductsByName(String name)
 {
     return(await ProductsServiceRefit
            .SearchProductsByName(name));
 }
예제 #3
0
 public async Task <List <Product> > GetProductById(String Id)
 {
     return(await ProductsServiceRefit
            .GetProductById());
 }
예제 #4
0
 public async Task AddProductToDatabase(Product product)
 {
     await ProductsServiceRefit
     .AddProduct(product);
 }
예제 #5
0
 public async Task <List <Product> > GetProducts()
 {
     return(await ProductsServiceRefit
            .GetProducts());
 }