Exemplo n.º 1
0
 public async Task Consume(ConsumeContext <IRequestWhoHasPotato> context)
 {
     await PotatoManager.CheckPotatoState();
 }
 public async Task Consume(ConsumeContext <ICurrentUsersInOrder> context)
 {
     PotatoManager.UpdateUsers(context.Message.Users.ToList());
     await PotatoManager.CheckPotatoState();
 }