phronCare/Models/Interfaces/IPhSDeliveryNoteRepository.cs
leandro 63915aa980
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (pull_request) Successful in 7m49s
feat(sales): agregar búsqueda paginada de Delivery Note (search endpoint + DTO resumen) closes #27
2026-03-20 23:03:46 -03:00

25 lines
751 B
C#

using Domain.Dtos.Sales;
using Domain.Generics;
namespace Models.Interfaces
{
public interface IPhSDeliveryNoteRepository
{
Task<PagedResult<DeliveryNoteSummaryDto>> SearchAsync(
int? customerId,
string? customerText,
string? deliveryNoteNumber,
int? quoteId,
string? quoteNumber,
DateTime? issueDateFrom,
DateTime? issueDateTo,
string? status,
int page = 1,
int pageSize = 50);
Task<DeliveryNoteDto?> GetDtoByIdAsync(int id);
Task<DeliveryNoteDto?> GetDtoByDeliveryNoteNumberAsync(string deliveryNoteNumber);
Task<IEnumerable<DeliveryNoteDto>> GetDtosByQuoteIdAsync(int quoteId);
}
}