protected async void Form0Submit(RadzenCrm.Models.Crm.OpportunityStatus args) { try { var crmUpdateOpportunityStatusResult = await Crm.UpdateOpportunityStatus(int.Parse(Id), opportunitystatus); DialogService.Close(opportunitystatus); } catch (Exception crmUpdateOpportunityStatusException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update OpportunityStatus"); } }
protected async System.Threading.Tasks.Task Form0Submit(RadzenCrm.Models.Crm.OpportunityStatus args) { try { var crmUpdateOpportunityStatusResult = await Crm.UpdateOpportunityStatus(Id, opportunitystatus); DialogService.Close(opportunitystatus); } catch (System.Exception crmUpdateOpportunityStatusException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update OpportunityStatus"); } }