Пример #1
0
        /// <summary author="Kevin Broskow" created="2019/01/30">
        /// Used to retrieve all active Item from the database
        /// </summary>
        /// <updates>
        /// <update author="Jared Greenfield" date="2019/04/03">
        /// Converted to Item from Product
        /// </update>
        /// </updates>
        /// <returns>List<Item></returns>
        public List <Item> RetrieveActiveItems()
        {
            List <Item> activeItems = new List <Item>();

            try
            {
                activeItems = _itemAccessor.SelectActiveItems();
            }
            catch (Exception ex)
            {
                ExceptionLogManager.getInstance().LogException(ex);
                throw ex;
            }
            return(activeItems);
        }