Пример #1
0
        private async Task <object> ConnectionResolver(ResolveConnectionContext <object> connectionContext)
        {
            IEnumerable <TSource> list = await QueryAsync(connectionContext);

            // ReSharper disable once PossibleInvalidOperationException
            return(await connectionContext.GetConnectionAsync(list, _pageLimit.Value));
        }