Metoda usuwania repozytorium JPA Wartość zwracana

@Repository
public interface FruitRepository extends JpaRepository<Fruit, Long> {
    Fruit deleteById(Long id); // To get deleted record
    Long deleteById(Long id);  // To get deleted record count
}
Daschi