public Task Consume(ConsumeContext <BryzxxCreatedMessage> context)
 {
     return(MessageConsumeHandler.Handle(() => _dataAccess.Create(context.Message.Bryzxxes), context));
 }
Exemple #2
0
 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));
 }