public void CalculateAgentCommission(PaymentBo payment) { var commission = commissionService.Calculate(payment.PaymentValue); agentService.ReceieveCommission(payment.Agent, commission); }
public void CalculateAgentCommission(PaymentBo payment) { var commission = commissionService.Calculate(payment.PaymentValue); agentService.ReceieveCommission(payment.Agent, commission); }