#region ========================================================================= USING =====================================================================================
using Lumina.Application.Core.UsersManagement.Authentication.Commands.RecoverPassword;
using Lumina.Contracts.Requests.Authentication;
#endregion
namespace Lumina.Application.Common.Mapping.Authentication;
///
/// Extension methods for converting .
///
public static class RecoverPasswordRequestMapping
{
///
/// Converts to .
///
/// The request to be converted.
/// The converted command.
public static RecoverPasswordCommand ToCommand(this RecoverPasswordRequest request)
{
return new RecoverPasswordCommand(
request.Username,
request.TotpCode
);
}
}