protected async System.Threading.Tasks.Task Load() { canEdit = true; var dbAtVdc2GetTblGnAddressBookTypeByAddressBookTypeSeqResult = await DbAtVdc2.GetTblGnAddressBookTypeByAddressBookTypeSeq(int.Parse($"{AddressBookType_SEQ}")); tblgnaddressbooktype = dbAtVdc2GetTblGnAddressBookTypeByAddressBookTypeSeqResult; }
protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnAddressBookType args) { try { var dbAtVdc2CreateTblGnAddressBookTypeResult = await DbAtVdc2.CreateTblGnAddressBookType(tblgnaddressbooktype); DialogService.Close(tblgnaddressbooktype); } catch (Exception dbAtVdc2CreateTblGnAddressBookTypeException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnAddressBookType!"); } }
protected async System.Threading.Tasks.Task Load() { tblgnaddressbooktype = new CanErp2.Models.DbAtVdc2.TblGnAddressBookType(); }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblGnAddressBookType args) { var result = await DialogService.OpenAsync <EditTblGnAddressBookType>("Edit Tbl Gn Address Book Type", new Dictionary <string, object>() { { "AddressBookType_SEQ", args.AddressBookType_SEQ } }); await InvokeAsync(() => { StateHasChanged(); }); }