package com.example.demo.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import com.example.demo.entity.Ingredient;
import com.example.demo.entity.Tag;

import java.util.Optional;

public interface TagRepo extends JpaRepository<Tag, Integer> {
	Optional<Tag> findByName(String name);
}