17 lines
496 B
C#
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);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|