protected async System.Threading.Tasks.Task Form0Submit(RadzenCrm.Models.Crm.TaskType args) { try { var crmCreateTaskTypeResult = await Crm.CreateTaskType(tasktype); DialogService.Close(tasktype); } catch (System.Exception crmCreateTaskTypeException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TaskType!"); } }