package com.aemreunal.repository.scenario;

/*
 ***************************
 * Copyright (c) 2014      *
 *                         *
 * This code belongs to:   *
 *                         *
 * @author Ahmet Emre Ünal *
 * S001974                 *
 *                         *
 * aemreunal@gmail.com     *
 * emre.unal@ozu.edu.tr    *
 *                         *
 * aemreunal.com           *
 ***************************
 */

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import com.aemreunal.domain.Scenario;

public interface ScenarioRepo extends CrudRepository<Scenario, Long>, JpaSpecificationExecutor {
}

@@ -554,16 +554,53 @@
 sitory;%0A
+import com.aemreunal.domain.Project;%0A
 import c
@@ -727,10 +727,92 @@
 cutor %7B%0A
+    public Scenario findByScenarioIdAndProject(Long scenarioId, Project project);%0A
 %7D%0A

Add Scenario repo search method