protected async void Form0Submit(RadzenCrm.Models.Crm.TaskType args) { try { var crmUpdateTaskTypeResult = await Crm.UpdateTaskType(int.Parse($"{Id}"), tasktype); DialogService.Close(tasktype); } catch (Exception crmUpdateTaskTypeException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TaskType"); } }
protected async System.Threading.Tasks.Task Form0Submit(BlazorCrmWasm.Models.Crm.TaskType args) { try { var crmUpdateTaskTypeResult = await Crm.UpdateTaskType(id : Id, taskType : tasktype); DialogService.Close(tasktype); } catch (System.Exception crmUpdateTaskTypeException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TaskType"); } }