source: StockMaster/Services/IProductService.cs

main
Last change on this file was dfe03b8, checked in by Ceyda <ceyda.huseini@…>, 2 days ago

Initialize StockMaster project

  • Property mode set to 100644
File size: 520 bytes
Line 
1using System.Collections.Generic;
2using System.Threading.Tasks;
3using StockMaster.Models;
4
5namespace StockMaster.Services
6{
7 public interface IProductService
8 {
9 Task<List<Product>> GetAllProductsAsync();
10 Task<Product> GetProductByIdAsync(int id);
11 Task<bool> CreateProductAsync(Product product);
12 Task<bool> DeleteProductAsync(int id);
13 Task<List<Product>> GetLowStockProductsAsync();
14
15 Task<bool> UpdateProductWithUserAsync(Product product, string username);
16 }
17}
Note: See TracBrowser for help on using the repository browser.