package de.assecutor.votianlt.repository;

import de.assecutor.votianlt.model.Service;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface ServiceRepository extends MongoRepository<Service, String> {
    List<Service> findByUserId(String userId);

    void deleteByUserId(String userId);
}