package io.gmss.fiscad.repositories.decoupage;

import io.gmss.fiscad.entities.decoupage.Nationalite;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface NationaliteRepository extends JpaRepository<Nationalite, Long> {
    List<Nationalite> findAllByOrderByLibelleAsc();

    List<Nationalite> findAllByOrderByLibelleAsc(Pageable pageable);
}
