Example #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoApInvoicesDetail args)
        {
            try
            {
                var dbAtVdc2CreateTblPoApInvoicesDetailResult = await DbAtVdc2.CreateTblPoApInvoicesDetail(tblpoapinvoicesdetail);

                DialogService.Close(tblpoapinvoicesdetail);
            }
            catch (Exception dbAtVdc2CreateTblPoApInvoicesDetailException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoApInvoicesDetail!");
            }
        }