phronCare/Models/Interfaces/IPhSProductCategoryRepository.cs
Leandro Hernan Rojas e14fecc455
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m21s
Add BusinessUnits y ProductCatergories in API
2025-04-18 02:01:12 -03:00

15 lines
467 B
C#

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