public async Task Handler(TransformServiceWorkerRequest @event, ILambdaContext context) { Logger.Debug(@event.ToMcmaJson().ToString()); Logger.Debug(context.ToMcmaJson().ToString()); await McmaWorker.DoWorkAsync <TransformServiceWorker, TransformServiceWorkerRequest>(@event.Action, @event); }
public async Task Handler(JobProcessorWorkerRequest @event, ILambdaContext context) { Logger.Debug(@event.ToMcmaJson().ToString()); Logger.Debug(context.ToMcmaJson().ToString()); await McmaWorker.DoWorkAsync <JobProcessorWorker, JobProcessorWorkerRequest>(@event.Action, @event); }