private Task Evaluate <TFormat>(HttpContext context, Type query, TFormat data) { return(Converter.ConvertStream <EvaluateQuery, EvaluateQuery.Argument <TFormat> >( context, new EvaluateQuery.Argument <TFormat> { QueryName = query.FullName, Data = data })); }
private Task Execute <TFormat>(HttpContext context, string service, TFormat data) { return(Converter.ConvertStream <ExecuteService, ExecuteService.Argument <TFormat> >( context, new ExecuteService.Argument <TFormat> { Name = service, Data = data })); }