Exemplo n.º 1
0
        protected async System.Threading.Tasks.Task Form0Submit(RadzenCrm.Models.Crm.Task args)
        {
            try
            {
                var crmUpdateTaskResult = await Crm.UpdateTask(Id, task);

                DialogService.Close(task);
            }
            catch (System.Exception crmUpdateTaskException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update Task");
            }
        }
Exemplo n.º 2
0
        protected async void Form0Submit(RadzenCrm.Models.Crm.Task args)
        {
            try
            {
                var crmUpdateTaskResult = await Crm.UpdateTask(int.Parse($"{Id}"), task);

                DialogService.Close(task);
            }
            catch (Exception crmUpdateTaskException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update Task");
            }
        }