14 lines
401 B
C#
14 lines
401 B
C#
using ContactService.Domain.Entities;
|
|
|
|
namespace ContactService.Domain
|
|
{
|
|
public interface IFriendRequestReposity
|
|
{
|
|
Task<bool> CreateAsync(FriendRequest friendRequest);
|
|
Task<FriendRequest?> FindByIdAsync(Guid id);
|
|
Task<IEnumerable<FriendRequest>> FindByOwnerIdAsync(Guid ownerId);
|
|
Task<IEnumerable<FriendRequest>> FindByTargetIdAsync(Guid targetId);
|
|
|
|
}
|
|
}
|