File size: 427 Bytes
b9c7f0e
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
using FlowAPI.Domain.Entities;

namespace FlowAPI.Application.Interfaces
{
    public interface IGraphRepository : IGenericRepository<Graph>
    {
        Task<IEnumerable<Graph>> GetAllByUserIdAsync(Guid userId);
        Task<Graph?> GetByIdWithDetailsAsync(Guid id);
        Task ClearDetailsAsync(Guid id);
        Task<bool> UpsertFullGraphAsync(Guid graphId, IEnumerable<TaskNode> nodes, IEnumerable<Edge> edges);
    }
}