public static IMongoQueryable <Group> Query(this IMongoCollection <Group> groups, BrowseGroups query) { var values = groups.AsQueryable(); return(values.OrderBy(x => x.Name)); }
public async Task <Maybe <PagedResult <Group> > > BrowseAsync(BrowseGroups query) => await _provider.GetCollectionAsync(async() => await _groupRepository.BrowseAsync(query));
public async Task <Maybe <PagedResult <Group> > > BrowseAsync(BrowseGroups query) => await _database.Groups().Query(query).PaginateAsync(query);
public async Task <Maybe <PagedResult <Group> > > BrowseAsync(BrowseGroups query) => await _storageClient.GetFilteredCollectionAsync <Group, BrowseGroups>(query, "groups");
public async Task <Maybe <PagedResult <Group> > > BrowseAsync(BrowseGroups query) => await _groupRepository.BrowseAsync(query);