// filepath:
// /Users/andre/Desktop/PrintAuftrag/api/src/main/java/com/server/api/repository/CoordinatesRepository.java
package com.server.api.repository;

import com.server.api.models.Coordinates;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface CoordinatesRepository extends JpaRepository<Coordinates, Long> {
  void deleteByVorlageId(Long vorlageId); // Diese Methode hinzufügen
  List<Coordinates> findAllByVorlageId(Long vorlageId);

}
