IOrdersUserControlContract.cs 892 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using OOO_WriteAndClear.DBModels;
  2. using OOO_WriteAndClear.MVP.Models.ProductsUserControlModel;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace OOO_WriteAndClear.MVP.MVPInterfaces
  9. {
  10. public interface IOrdersUserControlContract
  11. {
  12. public interface View
  13. {
  14. }
  15. public interface Presenter
  16. {
  17. ICollection<Order> Orders { get; }
  18. void UpdateOrdersFromDB();
  19. ICollection<Order> UpdateOrdersListForSortingAndFilting(FilterByDiscountParameters filterParams, string sortingParams);
  20. }
  21. public interface Model
  22. {
  23. ICollection<Order> Orders { get; }
  24. void UpdateOrdersFromDB();
  25. void FilterAndSorting(FilterByDiscountParameters filterParams, string sortingParams);
  26. }
  27. }
  28. }