Пример #1
0
        /// <summary>
        /// Creator: Brandyn T. Coverdill
        /// Created: 2020/02/23
        /// Approver: Dalton Reierson
        /// Approver:  Jesse Tomash
        ///
        /// Method that gets a list of items for inventory.
        /// </summary>
        ///
        /// <remarks>
        /// Updated By:
        /// Updated:
        /// Update:
        /// </remarks>
        public List <Item> retrieveItems()
        {
            List <Item> items = new List <Item>();

            try
            {
                items = _itemAccessor.getAllItems();
            }
            catch (Exception ex)
            {
                throw new ApplicationException("No Items Found", ex);
            }

            return(items);
        }