[Issue-154]add  find by name method
package greencity.service;
+import greencity.entity.Photo;
+import java.util.Optional;
+
/**
* Provides the interface to manage {@code Photo} entity.
*
@@ -7,4 +10,5 @@ package greencity.service;
* @version 1.0
*/
public interface PhotoService {
+ Optional<Photo> findByName(String name);
}
