Пример #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoVendor args)
        {
            try
            {
                var dbAtVdc2CreateTblPoVendorResult = await DbAtVdc2.CreateTblPoVendor(tblpovendor);

                DialogService.Close(tblpovendor);
            }
            catch (Exception dbAtVdc2CreateTblPoVendorException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoVendor!");
            }
        }