mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
test to make server
This commit is contained in:
@@ -3,4 +3,5 @@ namespace Govor.Core.Repositories.Friendships;
|
||||
public interface IFriendshipsExist
|
||||
{
|
||||
bool Exist(Guid requesterId, Guid addresseeId);
|
||||
bool IsPossibilityOfCreatingFriendship(Guid requesterId, Guid addresseeId);
|
||||
}
|
||||
@@ -6,5 +6,6 @@ public interface IFriendshipsReader
|
||||
{
|
||||
Task<List<Friendship>> GetAllAsync();
|
||||
Task<Friendship> GetByIdAsync(Guid id);
|
||||
Task<Friendship> GetFriendshipAsync(Guid fromUserId, Guid toUserId);
|
||||
Task<List<Friendship>> FindByUserIdAsync(Guid userId);
|
||||
}
|
||||
@@ -7,4 +7,5 @@ public interface IPrivateChatsReader
|
||||
Task<List<PrivateChat>> GetAllAsync();
|
||||
Task<PrivateChat> GetByIdAsync(Guid id);
|
||||
Task<PrivateChat> GetByMembersAsync(Guid memberAId, Guid memberBId);
|
||||
Task<List<PrivateChat>> GetAllOfUser(Guid userId);
|
||||
}
|
||||
Reference in New Issue
Block a user