コード例 #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpDonViTo args)
        {
            try
            {
                var dbAtVdc2CreateTblHpDonViToResult = await DbAtVdc2.CreateTblHpDonViTo(tblhpdonvito);

                DialogService.Close(tblhpdonvito);
            }
            catch (Exception dbAtVdc2CreateTblHpDonViToException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpDonViTo!");
            }
        }