public void PayCustomerHandler(PayCustomer payCustomer) { var account = accountRepository.GetAccountByCustomerId(payCustomer.CustomerId); account.MakePayment(payCustomer.Amount, now()); }
public void PayCustomerHandler(PayCustomer payCustomer) { var account = accountRepository.GetAccountByCustomerId(payCustomer.CustomerId); account.MakePayment(payCustomer.Amount, now()); }