/// <summary> /// Retrieve all photos in a gallery /// </summary> /// <param name="galleryId">Id of the gallery</param> /// <returns></returns> public List <Photo> RetreivePhotosByGalleryId(int galleryId) { List <Photo> photos = photoDb.RetreivePhotosByGalleryId(galleryId, "Photo_RetrievePhotosByGalleryId"); return(photos); }