Example #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpNgoaiNgu args)
        {
            try
            {
                var dbAtVdc2CreateTblHpNgoaiNguResult = await DbAtVdc2.CreateTblHpNgoaiNgu(tblhpngoaingu);

                DialogService.Close(tblhpngoaingu);
            }
            catch (Exception dbAtVdc2CreateTblHpNgoaiNguException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpNgoaiNgu!");
            }
        }