using System.Threading.Tasks;
using DiplomovaPrace.Contracts.Customer;
using DiplomovaPrace.Contracts.Customer.Products;
using DiplomovaPrace.Contracts.Customer.Products.ViewModels;
using Havit.Collections;

namespace DiplomovaPrace.DataLayer.Queries.Products
{
	public interface IProductListQuery
	{
		ProductListQueryFilter Filter { get; set; }

		SortItem[] Sorting { get; set; }

		Task<PagedQueryResult<ProductVM>> GetPageAsync(int pageIndex, int pageSize);
	}
}
