Example #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnAddressBook args)
        {
            try
            {
                var dbAtVdc2CreateTblGnAddressBookResult = await DbAtVdc2.CreateTblGnAddressBook(tblgnaddressbook);

                DialogService.Close(tblgnaddressbook);
            }
            catch (Exception dbAtVdc2CreateTblGnAddressBookException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnAddressBook!");
            }
        }