/// <summary> /// Searches through a shop's customers for the given search query. NOTE: Assumes the <paramref name="query"/> and <paramref name="order"/> strings are not encoded. /// </summary> /// <param name="filter">Options for filtering the result.</param> /// <param name="cancellationToken">Cancellation Token</param> public virtual async Task <ListResult <Customer> > SearchAsync(CustomerSearchListFilter filter, CancellationToken cancellationToken = default) { return(await SearchAsync(filter?.AsListFilter(), cancellationToken)); }
/// <summary> /// Searches through a shop's customers for the given search query. NOTE: Assumes the <paramref name="query"/> and <paramref name="order"/> strings are not encoded. /// </summary> /// <param name="filter">Options for filtering the result.</param> public virtual async Task <ListResult <Customer> > SearchAsync(CustomerSearchListFilter filter) { return(await SearchAsync(filter?.AsListFilter())); }