This commit is contained in:
Zeeshaun
2026-03-24 15:26:03 -05:00
parent 1e5beb292a
commit 9cc87337b8
333 changed files with 17931 additions and 0 deletions
@@ -0,0 +1,17 @@
using LCU.Library.Internal.DispatcherModels.Enums;
using System.Collections.Generic;
namespace LCU.Api.Internal.Dispatcher.Services;
public interface IWorkItemExecutionService
{
Task<WorkItemExecution> GetByIdAsync(int workItemExecutionId);
Task<WorkItemExecution> UpdateCompleteWorkItemExecution(WorkItemExecution workItemExecution, StatusType workItemFinalStatus);
Task<WorkItemExecution> UpdateCompleteWorkItemExecutionWithoutSave(WorkItemExecution workItemExecution, StatusType workItemFinalStatus);
Task<WorkItemExecution> UpdateAsync(WorkItemExecution workItemExecution);
Task<WorkItemExecution> CreateWorkItemExecution(int workItemId);
Task<WorkItemExecution> SaveAsync(WorkItemExecution workItemExecution);
Task<WorkItemExecution> UpdateProcessingWorkItemExecution(WorkItemExecution workItemExecution);
Task<WorkItemExecution> UpdateFailedWorkItemExecution(WorkItemExecution workItemExecution);
Task<IEnumerable<WorkItemExecution>> GetAllUnFinishedWorkItemExecutions(int workItemExecutionId);
Task<IEnumerable<WorkItemExecution>> GetAllByWorkItemId(int workItemId);
}