Пример #1
0
 public async Task ApplyRuleAsync(PurchaseOrder purchaseOrder)
 {
     if (purchaseOrder.OrderItems.Any(orderItem => orderItem.OrderItemType == OrderItemType.Membership))
     {
         await _customerAccountService.ActivateMembershipsAsync(purchaseOrder);
     }
 }