mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
rework and starts for new friends system
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using Govor.Core.Models;
|
||||
|
||||
namespace Govor.Application.Interfaces.Friends;
|
||||
|
||||
public interface IFriendRequestService
|
||||
{
|
||||
Task SendFriendRequestAsync(Guid fromUserId, Guid toUserId);
|
||||
Task AcceptFriendRequestAsync(Guid requestId, Guid currentUserId);
|
||||
Task RejectFriendRequestAsync(Guid requestId, Guid currentUserId);
|
||||
Task<List<Friendship>> GetIncomingRequestsAsync(Guid userId);
|
||||
Task<List<Friendship>> GetResponsesAsync(Guid userId);
|
||||
}
|
||||
Reference in New Issue
Block a user