phronCare/Models/Interfaces/IPhLSMProductRepository.cs

16 lines
443 B
C#
Raw Normal View History

2025-06-30 16:15:08 -03:00
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);
}
}