示例#1
0
        /// <summary>
        /// Get all accounts
        /// </summary>
        /// <returns>The list of accounts</returns>
        public IEnumerable <BankAccountDTO> GetAccounts()
        {
            var accounts = this.repository.GetAll();

            return(mapper.MapAccounts(accounts));
        }