Beispiel #1
0
        /// <summary>
        /// Gets the response for a query.
        /// </summary>
        /// <typeparam name="E">Entity type.</typeparam>
        /// <param name="input">Query input.</param>
        /// <param name="request">Request.</param>
        /// <returns></returns>
        public static async System.Threading.Tasks.Task <RecordResult> GetResponseAsync <E>(this System.Linq.IQueryable <E> input, QueryParameters request)
        {
            var result = await System.Threading.Tasks.Task.FromResult(input.GetResponse(request));

            return(result);
        }