You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
32 lines
1.1 KiB
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<Unitofmeasure> GetUnitofmeasures();
|
|
IEnumerable<ProductItem> GetProducts(string a_productKey = "");
|
|
IEnumerable<Tblbrand> GetBrands(string a_brandKey = "");
|
|
IEnumerable<Tblcategory> GetCategories(string a_categoryKey = "");
|
|
IEnumerable<ProductItem> 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;
|
|
}
|
|
}
|
|
|