using MediatR;

namespace SocialService.API.Application.Queries;

/// <summary>
/// EN: Query to get mutual friends between two users.
/// VI: Query để lấy danh sách bạn chung giữa hai users.
/// </summary>
/// <param name="UserId1">EN: First user ID / VI: ID user thứ nhất</param>
/// <param name="UserId2">EN: Second user ID / VI: ID user thứ hai</param>
public record GetMutualFriendsQuery(Guid UserId1, Guid UserId2) : IRequest<GetMutualFriendsResult>;

/// <summary>
/// EN: Result of get mutual friends query.
/// VI: Kết quả của query lấy bạn chung.
/// </summary>
public record GetMutualFriendsResult(IEnumerable<FriendDto> MutualFriends, int Count);
