// EN: Command to disable 2FA
// VI: Command để tắt 2FA

using MediatR;

namespace IamService.API.Application.Commands.Auth;

/// <summary>
/// EN: Command to disable 2FA for user.
/// VI: Command để tắt 2FA cho user.
/// </summary>
public record Disable2FACommand(
    Guid UserId,
    string Code
) : IRequest<Disable2FAResult>;

/// <summary>
/// EN: Result of disabling 2FA.
/// VI: Kết quả tắt 2FA.
/// </summary>
public record Disable2FAResult(
    bool Success,
    string Message
);
