public async Task Consume(ConsumeContext <BuyInMqCommand> context) { var response = await _service.BuyIn(context.Message.Id, context.Message.MinBuy, context.Message.MaxBuy); await context.RespondAsync <BodyResponse <MoneyMqResponse> >(response); }
public async Task Consume(ConsumeContext <BuyInMqCmd> context) { var response = await _service.BuyIn(context.Message.Id, context.Message.MinBuy, context.Message.MaxBuy, context.Message.Reason); await context.RespondAsync(response); }