示例#1
0
        /// <summary>
        /// Select a random photo from a spefic user
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        public int RetrieveRandomPhotoId(int userId)
        {
            int photoId = photoDb.RetrieveRandomPhotoId(userId, "Photo_SelectRandomImageByUserID");

            return(photoId);
        }