File size: 518 Bytes
b9c7f0e
 
 
 
 
 
 
 
 
 
 
1b321bd
b9c7f0e
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using FlowAPI.Application.DTOs.TaskNode;

namespace FlowAPI.Application.Interfaces
{
    public interface ITaskNodeService
    {
        Task<IEnumerable<TaskNodeResponseDto>> GetAllByGraphIdAsync(Guid graphId);
        Task<TaskNodeResponseDto?> GetByIdAsync(Guid id);
        Task<TaskNodeResponseDto> CreateAsync(CreateTaskNodeDto dto);
        Task<TaskNodeResponseDto?> UpdateAsync(Guid id, UpdateTaskNodeDto dto);
        Task<bool> DeleteAsync(Guid id);
        Task<string?> GetNodeDataAsync(Guid id);
    }
}