package com.example.demo.repository;

import java.util.Optional;

import org.springframework.data.jpa.repository.JpaRepository;
import com.example.demo.entity.Ingredient;

public interface IngredientRepo extends JpaRepository<Ingredient, Integer> {
    Optional<Ingredient> findByNameIgnoreCase(String name);
}