Ejemplo n.º 1
0
        /// <summary>
        /// Creator: Austin Gee
        /// Created: 3/11/2020
        /// Approver: Michael Thompson
        ///
        /// Adds a status to the database
        /// </summary>
        /// <remarks>
        /// Updated BY: N/A
        /// Updated N/A
        /// Update: N/A
        /// </remarks>
        public bool AddStatus(string statusID)
        {
            bool result = false;

            try
            {
                result = 1 == _statusAccessor.InsertStatus(statusID);
            }
            catch (Exception ex)
            {
                throw new ApplicationException("Status not added.", ex);
            }
            return(result);
        }