예제 #1
0
 public async Task HandleAsync(CreateBuyOrderCommand command)
 {
     var order = _orderFactory.CreateBuyOrder(command.WalletId, command.CompanyId, command.Quantity);
     await _eventRepository.SaveAsync(order);
 }