public override Task RunAsync(ApiGetAllContext context) { return(ExecuteAsync(context)); // return ExecuteAsync(context, (req) => req.Id); // return ExecuteAsync(context, (req) => req.Id, (req) => req.LifeLength); // return ExecuteAsync(context, (reader) => {}); // return ExecuteAsync(context, (reader) => {}, (req) => req.Id); // return ExecuteAsync(context, (reader) => {}, (req) => req.Id, (req) => req.LifeLength); }
public override void Run(ApiGetAllContext context) { Execute(context); // Execute(context, (req) => req.Id); // Execute(context, (req) => req.Id, (req) => req.LifeLength); // Execute(context, (reader) => {}); // Execute(context, (reader) => {}, (req) => req.Id); // Execute(context, (reader) => {}, (req) => req.Id, (req) => req.LifeLength); }