All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (pull_request) Successful in 18m57s
- Se agregan DeliveryNoteDto y DeliveryNoteItemDto - Se implementa proyección a DTO en PhSDeliveryNoteRepository - Se extiende IPhSDeliveryNoteRepository con métodos DTO - Se ajusta DeliveryNoteService para trabajar con DTO - Se actualiza DeliveryNoteController para devolver DTO - Se elimina exposición directa de EDeliveryNote en la API Closes #23
12 lines
347 B
C#
12 lines
347 B
C#
using Domain.Dtos.Sales;
|
|
|
|
namespace Models.Interfaces
|
|
{
|
|
public interface IPhSDeliveryNoteRepository
|
|
{
|
|
Task<DeliveryNoteDto?> GetDtoByIdAsync(int id);
|
|
Task<DeliveryNoteDto?> GetDtoByDeliveryNoteNumberAsync(string deliveryNoteNumber);
|
|
Task<IEnumerable<DeliveryNoteDto>> GetDtosByQuoteIdAsync(int quoteId);
|
|
}
|
|
}
|