16 lines
443 B
C#
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);
|
|||
|
|
}
|
|||
|
|
}
|