I have this class
public class FilterQuery
{
public FilterQuery() { }
public string OrderBy { set; get; }
public string OrderType { set; get; }
public int? Page { set; get; }
public int ResultNumber { set; get; }
}
I would like to use it like this
public IQueryable<Listing> FindAll(FilterQuery? filterQuery)
Is this possible?
Thanks