FlowAPI / FlowAPI.Application /Interfaces /ISharedGraphRepository.cs
danylokhodus's picture
init
b9c7f0e
Raw
History Blame Contribute Delete
483 Bytes
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);
}
}