Esempio n. 1
0
        /// <summary>
        /// Retreive random photo by gallery id
        /// </summary>
        /// <param name="galleryId">Id of gallery</param>
        /// <returns></returns>
        public Photo RetrieveRandomPhotoByGalleryId(int galleryId)
        {
            Photo photo = photoDb.RetrieveRandomPhotoByGalleryId(galleryId, "Photo_RetreiveRandomPhotoByGalleryId");

            return(photo);
        }