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

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