mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
12 lines
449 B
C#
12 lines
449 B
C#
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);
|
|
} |