Example #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao args)
        {
            try
            {
                var dbAtVdc2CreateTblHpTonGiaoResult = await DbAtVdc2.CreateTblHpTonGiao(tblhptongiao);

                DialogService.Close(tblhptongiao);
            }
            catch (Exception dbAtVdc2CreateTblHpTonGiaoException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpTonGiao!");
            }
        }