private void generateCommision(Order order, IEnumerable <PaymentTags> tags) { if (tags.Any(t => t == PaymentTags.Book || t == PaymentTags.PhysicalProduct)) { commisionService.GenerateCommision( order.Payment, productCatalog.GetAgentId(order.ProductId)); } }