Blame view

src/main/java/etunicorn/RoleRepository.java 227 Bytes
8f05ee77   Geoffrey PREUD'HOMME   API /role et amél...
1
2
3
4
5
6
7
8
9
10
  package etunicorn;
  
  import org.springframework.data.repository.CrudRepository;
  
  /**
   * Created by geoffrey on 29/01/17.
   */
  public interface RoleRepository extends CrudRepository<Role, Long> {
      Role findByNom(String nom);
  }