using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media.Media3D; namespace wpf_connection3.model { public interface IDataProvider { IEnumerable getProduct(int pageNum); int getProductCount(); void setOrder(string condition); List getProductTypes(); void clearFilter(); void addFilter(string name, object value); void setMinCostForAgent(decimal minCost, int[] ids); int getArticleCheck(string article, int ID); void saveProduct(Product product); int saleCount(int ID); void removeProductMaterial(int ID); void removeProductCostHistory(int ID); void removeProduct(int iD); List getProductMaterials(int ID); void deleteProductMaterial(int productId, int materialId); List getMaterials(); void addProductMaterial(ProductMaterial material); } }