protected async System.Threading.Tasks.Task Load() { var dbAtVdc2GetTblHpNhanViensResult = await DbAtVdc2.GetTblHpNhanViens(); getTblHpNhanViensResult = dbAtVdc2GetTblHpNhanViensResult; tblhpchitietchuyenmon = new CanErpHp.Models.DbAtVdc2.TblHpChiTietChuyenMon(); }
protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpChiTietChuyenMon args) { try { var dbAtVdc2CreateTblHpChiTietChuyenMonResult = await DbAtVdc2.CreateTblHpChiTietChuyenMon(tblhpchitietchuyenmon); DialogService.Close(tblhpchitietchuyenmon); } catch (Exception dbAtVdc2CreateTblHpChiTietChuyenMonException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpChiTietChuyenMon!"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHp.Models.DbAtVdc2.TblHpChiTietChuyenMon args) { var result = await DialogService.OpenAsync <EditTblHpChiTietChuyenMon>("Edit Tbl Hp Chi Tiet Chuyen Mon", new Dictionary <string, object>() { { "ChiTietChuyenMon_SEQ", args.ChiTietChuyenMon_SEQ } }); await InvokeAsync(() => { StateHasChanged(); }); }