public override Task RunAsync(StateGetAllContext 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(StateGetAllContext 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); }