public Task Consume(ConsumeContext <BryzxxCreatedMessage> context) { return(MessageConsumeHandler.Handle(() => _dataAccess.Create(context.Message.Bryzxxes), context)); }
public Task Consume(ConsumeContext <YpyfCreatedMessage> context) { return(MessageConsumeHandler.Handle(() => _dataAccess.Create(context.Message.Ypyf), context)); }
public Task Consume(ConsumeContext <BrxzCreatedMessage> context) { return(MessageConsumeHandler.Handle(() => { _dataAccess.Create(context.Message.Brxz); }, context)); }