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

namespace DiplomovaPrace.DataLayer.Queries.UserOrders
{
	public interface IOrderListQuery
	{
		OrderListQueryFilter Filter { get; set; }

		SortItem[] Sorting { get; set; }

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