using Biskilog_Accounting.Shared.CustomModels; using Biskilog_Accounting.Shared.POSModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Biskilog_Accounting.Shared.Interfaces { public interface IProduct { IEnumerable GetUnitofmeasures(); IEnumerable GetProducts(string a_productKey = ""); IEnumerable GetBrands(string a_brandKey = ""); IEnumerable GetCategories(string a_categoryKey = ""); IEnumerable GetLowstockItems(); Task FetchProducts(); Task FetchLowStockProducts(); Task FetchUnits(); Task FetchBrands(); Task FetchCategories(); void RefreshList(); ProductItem GetProductById(string a_id); ProductItem GetProductByName(string name); string GetUnitName(string a_unitCode); event EventHandler ProductsChanged; event EventHandler UnitsChanged; event EventHandler BrandsChanged; event EventHandler CategoriesChanged; } }