File size: 604 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 IItemControleService
{
    Task<IReadOnlyList<ItemControleResponse>> GetByObraAsync(Guid obraId, CancellationToken ct = default);
    Task<ItemControleResponse> GetByIdAsync(Guid id, CancellationToken ct = default);
    Task<ItemControleResponse> CreateAsync(CreateItemControleRequest request, CancellationToken ct = default);
    Task<ItemControleResponse> UpdateAsync(Guid id, UpdateItemControleRequest request, CancellationToken ct = default);
    Task DeleteAsync(Guid id, CancellationToken ct = default);
}