示例#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);
        }