public TResponse Perform <TParam, TResponse>(ILinqRequest <TParam, TResponse> request, TParam qrit, String source = null) where TParam : IQriteria { using (var linqProvider = LinqProviderFactory.Create(source)) { return(request.Request(linqProvider, qrit)); } }
public async Task <TResponse> PerformAsync <TParam, TResponse>(ILinqRequest <TParam, TResponse> request, TParam qrit, String source = null) where TParam : IQriteria { using (var linqProvider = LinqProviderFactory.Create(source)) { return(await request.RequestAsync(linqProvider, qrit)); } }
public BaseRequestQuery(ILinqRequest <TParam, TResponse> linqRequest, ILinqRequestHandler requestHandler) : this(requestHandler) { LinqRequest = linqRequest; }