All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (pull_request) Successful in 9m37s
close #68
33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
using Domain.Dtos.Sales;
|
|
using Domain.Generics;
|
|
|
|
namespace Core.Interfaces
|
|
{
|
|
public interface ISalesDocumentDom
|
|
{
|
|
Task<PagedResult<SalesDocumentSummaryDto>> SearchAsync(
|
|
int? customerId,
|
|
string? customerText,
|
|
int? quoteId,
|
|
int? documentType,
|
|
int? status,
|
|
DateTime? issueDateFrom,
|
|
DateTime? issueDateTo,
|
|
int page = 1,
|
|
int pageSize = 50);
|
|
|
|
Task<SalesDocumentCreateResponse> CreateAsync(SalesDocumentCreateRequest request);
|
|
Task<SalesDocumentCreateResponse> CreateFromDeliveryNotesAsync(SalesDocumentCreateFromDeliveryNotesRequest request);
|
|
Task<PagedResult<SalesDocumentDeliveryNoteCandidateDto>> SearchDeliveryNoteCandidatesAsync(
|
|
int? customerId,
|
|
string? customerText,
|
|
string? deliveryNoteNumber,
|
|
int? quoteId,
|
|
DateTime? issueDateFrom,
|
|
DateTime? issueDateTo,
|
|
int page = 1,
|
|
int pageSize = 50);
|
|
Task<SalesDocumentDto?> GetDtoByIdAsync(int id);
|
|
}
|
|
}
|