Esempio n. 1
0
        /// <summary>
        ///     Deletes the passed item and removes the item from cache
        /// </summary>
        /// <param name="item">item to delete</param>
        public void Delete(Account item)
        {
            _data.Remove(item);
            _dataAccess.Delete(item);

            TransactionLogic.DeleteAssociatedTransactionsFromDatabase(item);
        }