Пример #1
0
        public IUserAccount Delete(IUserAccount account)
        {
            _accountsRepository.DeleteById(account.AccountId);

            IAccountDetail disabledAccount = _accountsRepository.GetById(account.AccountId);

            return(new UserAccount(disabledAccount));
        }