0
0

interface.cs 770 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace wpf_connection3.model
  7. {
  8. public interface IDataProvider
  9. {
  10. IEnumerable<Product> getProduct(int pageNum);
  11. int getProductCount();
  12. void setOrder(string condition);
  13. List<ProductType> getProductTypes();
  14. void clearFilter();
  15. void addFilter(string name, object value);
  16. void setMinCostForAgent(decimal minCost, int[] ids);
  17. int getArticleCheck(string article, int ID);
  18. void saveProduct(Product product);
  19. int saleCount(int ID);
  20. void removeProductMaterial(int ID);
  21. void removeProductCostHistory(int ID);
  22. void removeProduct(int iD);
  23. }
  24. }