File size: 365 Bytes
b9c7f0e
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
using FlowAPI.Application.DTOs.Edge;

namespace FlowAPI.Application.Interfaces
{
    public interface IEdgeService
    {
        Task<IEnumerable<EdgeResponseDto>> GetAllByGraphIdAsync(Guid graphId);
        Task<EdgeResponseDto?> GetByIdAsync(Guid id);
        Task<EdgeResponseDto> CreateAsync(CreateEdgeDto dto);
        Task<bool> DeleteAsync(Guid id);
    }
}