public static string GetPhoneNumber(ForViewModel userGet, CancellationToken cancellationToken) { if (userGet == null) { throw new InvalidOperationException("User not found"); } return(userGet.PhoneNumber); }
public static bool GetPhoneNumberConfirmed(ForViewModel userGet, CancellationToken cancellationToken) { if (userGet == null) { throw new InvalidOperationException("User not found"); } return(true); }
internal static string GetEmail(ForViewModel userGet, CancellationToken cancellationToken) { if (userGet == null) { throw new InvalidOperationException("User not found"); } return(userGet.Email); }