/// <summary> /// Retrieve all photos by uploaded by a user in a specific gallery /// </summary> /// <param name="userID"></param> /// <param name="galleryId"></param> /// <returns></returns> public List <Photo> RetrievePhotosByUserIDAndGalleryId(int userID, int galleryId) { List <Photo> photos = photoDb.RetrievePhotosByUserIDAndGalleryId(userID, galleryId, "Photo_RetrieveAllPhotosByUserIdAndGalleryId"); return(photos); }