in src/Covi/Features/MedicalLogin/Components/LogIn/MedicalLogInViewModel.cs [87:108]
private async Task HandleMedicalLogIn()
{
try
{
if (HasMedicalIdErrorMessage.HasValue && HasMedicalIdErrorMessage.Value == false)
{
IsBusy = true;
if (!string.IsNullOrEmpty(MedicalId))
{
await _medicalAuthenticationService.MedicalAuthenticateAsync(MedicalId);
}
}
}
catch (Exception e)
{
await _errorHandler.HandleAsync(e);
}
finally
{
IsBusy = false;
}
}