phronCare/Models/Interfaces/IExpeditionRepository.cs
Leandro Hernan Rojas 6e61b7b598
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 10m12s
Update Expeditions Print
2025-09-04 18:15:15 -03:00

17 lines
496 B
C#

using Domain.Dtos.Stock;
using Domain.Entities;
namespace Models.Interfaces
{
// 1.1 Data (Repo)
public interface IExpeditionRepository
{
/// <summary>
/// Crea la expedición completa (encabezado + detalles) y la deja emitida con numeración de serie.
/// </summary>
Task<(int Id, string Expeditionnumber)> CreateFullExpeditionAsync(ELSExpeditionHeader expedition, int formSeriesId);
Task<ExpeditionDto?> GetDtoByIdAsync(int id);
}
}