17 lines
1.1 KiB
C#
17 lines
1.1 KiB
C#
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);
|
|
} |