예제 #1
0
        protected async void Form0Submit(RadzenCrm.Models.Crm.Contact args)
        {
            try
            {
                var crmUpdateContactResult = await Crm.UpdateContact(int.Parse(Id), contact);

                DialogService.Close(contact);
            }
            catch (Exception crmUpdateContactException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update Contact");
            }
        }
예제 #2
0
        protected async System.Threading.Tasks.Task Form0Submit(BlazorCrmWasm.Models.Crm.Contact args)
        {
            try
            {
                var crmUpdateContactResult = await Crm.UpdateContact(id : Id, contact : contact);

                DialogService.Close(contact);
            }
            catch (System.Exception crmUpdateContactException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update Contact");
            }
        }