Beispiel #1
0
        public void UpdateAccount(AccountModel model)
        {
            IAccount          account = AccountService.GetAccount(model.RecordId);
            AccountSaveFacade facade  = new AccountSaveFacade();

            facade.Apply(model, account);
            AccountService.UpdateAccount(account);
        }
Beispiel #2
0
 public AccountPresenter()
 {
     Service    = Factory.CreateAccountService();
     SaveFacade = new AccountSaveFacade();
 }