public static R.Responses_Query <TResponse> AsSyncQueryResult <TResponse>(this ICallback callback, Q.Queries_Query <TResponse> query = null) where TResponse : class { return(Task.Run(async() => { return await callback.AsQueryResult <TResponse>(); }).Result); }