Modified GetAllPhotosController