Example #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoAccountPayable args)
        {
            try
            {
                var dbAtVdc2CreateTblPoAccountPayableResult = await DbAtVdc2.CreateTblPoAccountPayable(tblpoaccountpayable);

                DialogService.Close(tblpoaccountpayable);
            }
            catch (Exception dbAtVdc2CreateTblPoAccountPayableException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoAccountPayable!");
            }
        }