Spaces:
Running
Running
File size: 483 Bytes
b9c7f0e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | using FlowAPI.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FlowAPI.Application.Interfaces
{
public interface ISharedGraphRepository : IGenericRepository<SharedGraph>
{
Task<IEnumerable<SharedGraph>> GetSharedGraphsByUserIdAsync(Guid userId);
Task<SharedGraph?> GetShareAsync(Guid graphId, Guid sharedWithUserId);
Task<IEnumerable<SharedGraph>> GetSharesForGraphAsync(Guid graphId);
}
}
|