phronCare/Core/Interfaces/IQuoteDom.cs

22 lines
900 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 IQuoteDom
{
Task<PagedResult<EQuoteHeader>> GetAllQuotesAsync(int page = 1, int pageSize = 50);
Task<EQuoteHeader?> GetQuoteByIdAsync(int id);
Task<IEnumerable<EQuoteHeader>> GetQuotesByCustomerAsync(int customerId);
Task<PagedResult<EQuoteHeader>> SearchQuotesAsync(int? customerId,
string? quoteNumber,int? professionalId, int? institutionId,
int? patientId, DateTime? issueDateFrom,DateTime? issueDateTo,
string? status, int page = 1, int pageSize = 50);
Task<EQuoteHeader> CreateQuoteAsync(EQuoteHeader quote, int formSeriesId);
Task UpdateQuoteAsync(EQuoteHeader quote);
Task DeleteQuoteAsync(int id);
Task<byte[]> ExportFilteredQuotesToExcelAsync(QuoteSearchParams searchParams);
}
}