test to make server

This commit is contained in:
Artemy
2026-02-08 22:30:29 +07:00
parent cc2921d257
commit 0a43e35797
56 changed files with 949 additions and 442 deletions
@@ -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);
}