Example #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnPaymentTerm args)
        {
            try
            {
                var dbAtVdc2CreateTblGnPaymentTermResult = await DbAtVdc2.CreateTblGnPaymentTerm(tblgnpaymentterm);

                DialogService.Close(tblgnpaymentterm);
            }
            catch (Exception dbAtVdc2CreateTblGnPaymentTermException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnPaymentTerm!");
            }
        }