Beispiel #1
0
        /// <summary>
        ///  Creator: Rasha Mohammed
        ///  Created: 4/1/2020
        ///  Approver: Ethan Holmes
        ///
        ///  Method that retrieve all picture
        ///
        /// </summary>
        /// <remarks>
        /// Updater: NA
        /// Updated: NA
        /// Update: NA
        ///
        /// </remarks>
        /// <param name="pictureAccessor"></param>
        public List <Picture> RetrieveAllPictures()
        {
            List <Picture> result = null;

            try
            {
                result = _pictureAccessor.SelectAllPicture();
            }
            catch (Exception ex)
            {
                throw new ApplicationException("Data not found.", ex);
            }
            return(result);
        }