예제 #1
0
        public void UpdateAccount(AccountDTO account)
        {
            var acc = accountRepository.GetBy(account.ID);

            account.MappingAccount(acc);

            accountRepository.Update(acc);
        }
예제 #2
0
        public void AddAccount(AccountDTO account)
        {
            var acc = account.MappingAccount();

            accountRepository.Add(acc);
        }