Adding
This commit is contained in:
+17
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user