コード例 #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnShipVium args)
        {
            try
            {
                var dbAtVdc2CreateTblGnShipViumResult = await DbAtVdc2.CreateTblGnShipVium(tblgnshipvium);

                DialogService.Close(tblgnshipvium);
            }
            catch (Exception dbAtVdc2CreateTblGnShipViumException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnShipVium!");
            }
        }