Skip to content

Commit

Permalink
Removed some commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Nijhof authored and Mark Nijhof committed Nov 8, 2009
1 parent dee3b4e commit ff4bdcb
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 11 deletions.
Expand Up @@ -19,7 +19,6 @@ public void Execute(ChangeAccountNameCommand compensatingCommand)

activeAccount.ChangeAccountName(new AccountName(compensatingCommand.AccountName));

//_repository.Add(activeAccount);
_repository.Complete();
}
}
Expand Down
Expand Up @@ -19,7 +19,6 @@ public void Execute(ChangeClientNameCommand compensatingCommand)

client.UpdateClientName(new ClientName(compensatingCommand.ClientName));

//_repository.Add(client);
_repository.Complete();
}
}
Expand Down
Expand Up @@ -19,7 +19,6 @@ public void Execute(ChangeClientPhoneNumberCommand compensatingCommand)

client.UpdatePhoneNumber(new PhoneNumber(compensatingCommand.PhoneNumber));

//_repository.Add(client);
_repository.Complete();
}
}
Expand Down
Expand Up @@ -19,7 +19,6 @@ public void Execute(ClientIsMovingCommand compensatingCommand)

client.ClientMoved(new Address(compensatingCommand.Street, compensatingCommand.StreetNumber, compensatingCommand.PostalCode, compensatingCommand.City));

//_repository.Add(client);
_repository.Complete();
}
}
Expand Down
Expand Up @@ -20,7 +20,6 @@ public void Execute(CloseAccountCommand compensatingCommand)
var closedAccount = activeAccount.Close();

_repository.Add(closedAccount);
//_repository.Add(activeAccount);
_repository.Complete();
}
}
Expand Down
Expand Up @@ -19,7 +19,6 @@ public void Execute(DepositeCashCommand compensatingCommand)

activeAccount.Deposite(new Amount(compensatingCommand.Amount));

//_repository.Add(activeAccount);
_repository.Complete();
}
}
Expand Down
Expand Up @@ -19,7 +19,6 @@ public void Execute(MoneyTransferFailedCompensatingCommand compensatingCommand)

activeAccount.PreviousTransferFailed(new AccountNumber(compensatingCommand.AccountNumber), new Amount(compensatingCommand.Amount));

//_repository.Add(activeAccount);
_repository.Complete();
}
}
Expand Down
Expand Up @@ -19,7 +19,6 @@ public void Execute(OpenNewAccountForClientCommand compensatingCommand)
var activeAccount = client.CreateNewAccount(compensatingCommand.AccountName);

_repository.Add(activeAccount);
//_repository.Add(client);
_repository.Complete();
}
}
Expand Down
Expand Up @@ -19,7 +19,6 @@ public void Execute(ReceiveMoneyTransferCommand compensatingCommand)

activeAccount.ReceiveTransferFrom(new AccountNumber(compensatingCommand.AccountNumber), new Amount(compensatingCommand.Amount));

//_repository.Add(activeAccount);
_repository.Complete();
}
}
Expand Down
Expand Up @@ -19,7 +19,6 @@ public void Execute(SendMoneyTransferCommand compensatingCommand)

activeAccount.SendTransferTo(new AccountNumber(compensatingCommand.AccountNumber), new Amount(compensatingCommand.Amount));

//_repository.Add(activeAccount);
_repository.Complete();
}
}
Expand Down
Expand Up @@ -19,7 +19,6 @@ public void Execute(WithdrawlCashCommand compensatingCommand)

activeAccount.Withdrawl(new Amount(compensatingCommand.Amount));

//_repository.Add(activeAccount);
_repository.Complete();
}
}
Expand Down

0 comments on commit ff4bdcb

Please sign in to comment.