Exemplo n.º 1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpChiTietNgoaiNgu args)
        {
            try
            {
                var dbAtVdc2CreateTblHpChiTietNgoaiNguResult = await DbAtVdc2.CreateTblHpChiTietNgoaiNgu(tblhpchitietngoaingu);

                DialogService.Close(tblhpchitietngoaingu);
            }
            catch (Exception dbAtVdc2CreateTblHpChiTietNgoaiNguException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpChiTietNgoaiNgu!");
            }
        }