using Project.Domain.Entities; namespace Project.Infrastructure.Interfaces { public interface IProductRepository { // CREATE Task AddAsync(Product product); // READ ALL Task> GetAllAsync(); // READ BY ID Task GetByIdAsync(int id); // READ BY NAME Task GetByNameAsync(string name); // UPDATE Task UpdateAsync(Product product); // DELETE Task DeleteAsync(Product product); } }