phronCare/Models/Interfaces/IPhLSMProductRepository.cs
Leandro Hernan Rojas 1be33c37b5
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 16m35s
Add Products
2025-06-30 16:15:08 -03:00

16 lines
443 B
C#

using Domain.Entities;
using Domain.Generics;
using Models.Models;
namespace Models.Interfaces
{
public interface IPhLSMProductRepository
{
Task<PagedResult<ELSProduct>> SearchAsync(LSProductSearchParams searchParams);
Task<ELSProduct?> GetByIdAsync(int id);
Task<ELSProduct> CreateAsync(ELSProduct entity);
Task<bool> UpdateAsync(ELSProduct entity);
Task<bool> DeleteAsync(int id);
}
}