phronCare/Models/Interfaces/IPhSQuoteHeaderRepository.cs

17 lines
749 B
C#
Raw Normal View History

2025-04-27 02:19:29 -03:00
using Domain.Entities;
using Domain.Generics;
namespace Models.Interfaces
{
public interface IPhSQuoteHeaderRepository
{
Task<PagedResult<EQuoteHeader>> GetAllAsync(int page = 1, int pageSize = 50);
Task<IEnumerable<EQuoteHeader>> GetByCustomerIdAsync(int customerId);
Task<EQuoteHeader?> GetByIdAsync(int id);
Task<PagedResult<EQuoteHeader>> SearchAsync(int? customerId, string? quoteNumber, int? professionalId, int? institutionId, int? patientId, DateTime? issueDateFrom, DateTime? issueDateTo, string? status, int page = 1, int pageSize = 50);
Task<EQuoteHeader> AddAsync(EQuoteHeader quoteHeader);
Task UpdateAsync(EQuoteHeader quoteHeader);
Task DeleteAsync(int id);
}
}