protected async System.Threading.Tasks.Task Load() { canEdit = true; var dbAtVdc2GetTblHpDonViToByDonViToIdResult = await DbAtVdc2.GetTblHpDonViToByDonViToId($"{DonViTo_ID}"); tblhpdonvito = dbAtVdc2GetTblHpDonViToByDonViToIdResult; }
protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpDonViTo args) { try { var dbAtVdc2CreateTblHpDonViToResult = await DbAtVdc2.CreateTblHpDonViTo(tblhpdonvito); DialogService.Close(tblhpdonvito); } catch (Exception dbAtVdc2CreateTblHpDonViToException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpDonViTo!"); } }
protected async System.Threading.Tasks.Task Load() { tblhpdonvito = new CanErpHp.Models.DbAtVdc2.TblHpDonViTo(); }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHp.Models.DbAtVdc2.TblHpDonViTo args) { var result = await DialogService.OpenAsync <EditTblHpDonViTo>("Edit Tbl Hp Don Vi To", new Dictionary <string, object>() { { "DonViTo_ID", args.DonViTo_ID } }); await InvokeAsync(() => { StateHasChanged(); }); }