Patch @REPOSITORY qui était en trop

master
Lucas EVARD 2 years ago
parent 6fede9f8e2
commit 9cae654287

@ -4,12 +4,9 @@ package iutclf.api.repository;
import iutclf.api.model.Account; import iutclf.api.model.Account;
import jakarta.persistence.Entity; import jakarta.persistence.Entity;
import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import java.util.List; import java.util.List;
import java.util.Optional; import java.util.Optional;
@Repository
public interface AccountRepository extends CrudRepository<Account,Long> { public interface AccountRepository extends CrudRepository<Account,Long> {
List<Account> findAll(); List<Account> findAll();
Optional<Account> findById(Long id); Optional<Account> findById(Long id);

Loading…
Cancel
Save