Beispiel #1
0
        protected async System.Threading.Tasks.Task Load()
        {
            var dbAtVdc2GetTblHpNhanViensResult = await DbAtVdc2.GetTblHpNhanViens();

            getTblHpNhanViensResult = dbAtVdc2GetTblHpNhanViensResult;

            tblhpchitietngoaingu = new CanErpHrPr.Models.DbAtVdc2.TblHpChiTietNgoaiNgu();
        }
Beispiel #2
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!");
            }
        }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHrPr.Models.DbAtVdc2.TblHpChiTietNgoaiNgu args)
        {
            var result = await DialogService.OpenAsync <EditTblHpChiTietNgoaiNgu>("Edit Tbl Hp Chi Tiet Ngoai Ngu", new Dictionary <string, object>() { { "ChiTietNgoaiNgu_SEQ", args.ChiTietNgoaiNgu_SEQ } });

            await InvokeAsync(() => { StateHasChanged(); });
        }