File size: 576 Bytes
de8b914
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
using SCM.Application.Controle.Dtos;

namespace SCM.Application.Controle;

public interface IExecutorService
{
    Task<IReadOnlyList<ExecutorResponse>> GetByObraAsync(Guid obraId, CancellationToken ct = default);
    Task<ExecutorResponse> GetByIdAsync(Guid id, CancellationToken ct = default);
    Task<ExecutorResponse> CreateAsync(CreateExecutorRequest request, CancellationToken ct = default);
    Task<ExecutorResponse> UpdateAsync(Guid id, UpdateExecutorRequest request, CancellationToken ct = default);
    Task DeleteAsync(Guid id, CancellationToken ct = default);
}