protected async System.Threading.Tasks.Task Form0Submit(BlazorCrmWasm.Models.Crm.TaskStatus args) { try { var crmUpdateTaskStatusResult = await Crm.UpdateTaskStatus(id : Id, taskStatus : taskstatus); DialogService.Close(taskstatus); } catch (Exception crmUpdateTaskStatusException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TaskStatus"); } }
protected async void Form0Submit(RadzenCrm.Models.Crm.TaskStatus args) { try { var crmUpdateTaskStatusResult = await Crm.UpdateTaskStatus(int.Parse($"{Id}"), taskstatus); DialogService.Close(taskstatus); } catch (Exception crmUpdateTaskStatusException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TaskStatus"); } }