コード例 #1
0
        /// <summary>
        /// Creator: Robert Holmes
        /// Created: 04/29/2020
        /// Approver: Jaeho Kim
        ///
        /// Calls relevent data access layer functionality to return a list of pictures associated with the provided productID.
        /// </summary>
        /// <remarks>
        /// Updater:
        /// Updated:
        /// Update:
        ///
        /// </remarks>
        /// <param name="productID"></param>
        /// <returns></returns>
        public List <Picture> RetrievePicturesByProductID(string productID)
        {
            List <Picture> result = null;

            try
            {
                result = _pictureAccessor.SelectAllPicturesByProductID(productID);
            }
            catch (Exception)
            {
                throw;
            }
            return(result);
        }