public void Execute(RegisterSuccessfullPayment command)
{
try
{
Account account = accountRepository.Get(command.AccountNumber);
account.RegisterPayment(command.BillingResult);
accountRepository.Save(account);
unitOfWork.Commit();
}
catch (Exception ex)
{
HandleException(ex);
}
}