Beispiel #1
0
        /// <summary>
        /// Creator: Dalton Reierson
        /// Created: 2020/03/13
        /// Approver: Brandyn T. Coverdill
        /// Approver: Jesee Tomash
        ///
        /// Method to deactivate item
        /// </summary>
        ///
        /// <remarks>
        /// Updated By:
        /// Updated:
        /// Update:
        /// </remarks>
        /// <param name="item"></param>
        public bool deactivateItem(Item item)
        {
            bool result = false;

            try
            {
                result = (1 == _itemAccessor.deactivateItem(item));
            }
            catch (Exception ex)
            {
                throw new ApplicationException("Deactivate Item Failed.", ex);
            }

            return(result);
        }