scm-api / src /SCM.Application /Controle /IItemControleService.cs
rafaeldavila's picture
Deploy SCM API (.NET 8) - Docker Space
de8b914 verified
Raw History Blame Contribute Delete
604 Bytes
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);
}