using Domain.Entities; namespace Models.Interfaces { public interface IPhSProductCategoryRepository { Task> GetAllAsync(); Task GetByIdAsync(int id); Task> SearchAsync(string term); Task CreateAsync(EProductCategory unit); Task UpdateAsync(EProductCategory unit); Task DeleteAsync(int id); } }