protected async void Form0Submit(RadzenCrm.Models.Crm.Task args) { try { var crmCreateTaskResult = await Crm.CreateTask(task); DialogService.Close(task); } catch (Exception crmCreateTaskException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new Task!"); } }
protected async System.Threading.Tasks.Task Form0Submit(BlazorCrmWasm.Models.Crm.Task args) { try { var crmCreateTaskResult = await Crm.CreateTask(task : task); DialogService.Close(task); } catch (Exception crmCreateTaskException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new Task!"); } }