protected async Task VerifyRecipient(RecipientViewModel recipientModel) { recipientModel.IsVerifying = true; var result = await WorkerCommunicationProxy.ProbeRecipient(recipientModel.Address); recipientModel.Verified = !string.IsNullOrEmpty(result.hostname); recipientModel.VerifyResult = result.exception; recipientModel.Name = result.hostname; recipientModel.IsVerifying = false; StateHasChanged(); }
public UpdateRecipientsForFolderCommandHandler(IDatabase database, WorkerCommunicationProxy workerNotificationProxy) { _database = database; _workerNotificationProxy = workerNotificationProxy; }
public UpsertFolderWebhookCommandHandler(IDatabase database, WorkerCommunicationProxy workerProxy) { _database = database; _workerProxy = workerProxy; }