using Entities.Models; namespace Entities.Interfaces { public interface IFriendshipRepository { Task AddAsync(Friendship friendship); Task GetByIdAsync(int id); Task UpdateAsync(Friendship friendship); Task DeleteAsync(Friendship friendship); Task SaveChangesAsync(); Task> GetUserFriendshipsAsync(int userId); Task> GetPendingRequestsAsync(int userId); Task GetFriendshipAsync(int userId, int friendId); } }