Ejemplo n.º 1
0
        /// <summary>
        /// Creator: Austin Gee
        /// Created: 3/11/2020
        /// Approver: Michael Thompson
        ///
        /// Retrieves all statuses from the data access layer
        /// </summary>
        /// <remarks>
        /// Updated BY: N/A
        /// Updated N/A
        /// Update: N/A
        /// </remarks>
        public List <string> RetriveAllStatuses()
        {
            List <string> statuses = new List <string>();

            try
            {
                statuses = _statusAccessor.SelectAllStatuses();
            }
            catch (Exception ex)
            {
                throw new ApplicationException("Status not added.", ex);
            }
            return(statuses);
        }