Exemplo n.º 1
0
 /// <summary>
 /// Get's thumbnail of current site image
 /// </summary>
 /// <param name="photoId">Id of row in photo table</param>
 /// <returns>byte array of image</returns>
 public byte[] RetrieveThumbnailByPhotoId(int photoId)
 {
     byte[] imageBytes = photoDb.GetImage(photoId, "Photo_RetrieveThumbnailByPhotoID");
     return(imageBytes);
 }