protected async System.Threading.Tasks.Task Load() { var dbAtVdc2GetTblHpNhanViensResult = await DbAtVdc2.GetTblHpNhanViens(); getTblHpNhanViensResult = dbAtVdc2GetTblHpNhanViensResult; tblhpchitietgiacanh = new CanErpHp.Models.DbAtVdc2.TblHpChiTietGiaCanh(); }
protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpChiTietGiaCanh args) { try { var dbAtVdc2CreateTblHpChiTietGiaCanhResult = await DbAtVdc2.CreateTblHpChiTietGiaCanh(tblhpchitietgiacanh); DialogService.Close(tblhpchitietgiacanh); } catch (Exception dbAtVdc2CreateTblHpChiTietGiaCanhException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpChiTietGiaCanh!"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHp.Models.DbAtVdc2.TblHpChiTietGiaCanh args) { var result = await DialogService.OpenAsync <EditTblHpChiTietGiaCanh>("Edit Tbl Hp Chi Tiet Gia Canh", new Dictionary <string, object>() { { "ChiTietGiaCanh_SEQ", args.ChiTietGiaCanh_SEQ } }); await InvokeAsync(() => { StateHasChanged(); }); }