コード例 #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoApInvoice args)
        {
            try
            {
                var dbAtVdc2CreateTblPoApInvoiceResult = await DbAtVdc2.CreateTblPoApInvoice(tblpoapinvoice);

                DialogService.Close(tblpoapinvoice);
            }
            catch (Exception dbAtVdc2CreateTblPoApInvoiceException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoApInvoice!");
            }
        }