Beispiel #1
0
 public Task SubscribeBusiness(Guid businessId, Guid offerId)
 {
     _node.Execute(new OrderSubscriptionCommand(businessId, offerId, Guid.NewGuid()));
     return(Task.CompletedTask);
 }
Beispiel #2
0
 //client gets accountId from other endpoints, it is included in business view models
 public void ReplenishAccount(Guid accountId, Money amount, CreditCardInfo creditCardInfo)
 {
     _node.Execute(new ReplenishAccountByCardCommand(accountId, amount, creditCardInfo));
 }