protected async System.Threading.Tasks.Task Load() { canEdit = true; var dbAtVdc2GetTblGnPaymentTypeByPaymentTypeSeqResult = await DbAtVdc2.GetTblGnPaymentTypeByPaymentTypeSeq(int.Parse($"{PaymentType_SEQ}")); tblgnpaymenttype = dbAtVdc2GetTblGnPaymentTypeByPaymentTypeSeqResult; }
protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnPaymentType args) { try { var dbAtVdc2CreateTblGnPaymentTypeResult = await DbAtVdc2.CreateTblGnPaymentType(tblgnpaymenttype); DialogService.Close(tblgnpaymenttype); } catch (Exception dbAtVdc2CreateTblGnPaymentTypeException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnPaymentType!"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblGnPaymentType args) { var result = await DialogService.OpenAsync <EditTblGnPaymentType>("Edit Tbl Gn Payment Type", new Dictionary <string, object>() { { "PaymentType_SEQ", args.PaymentType_SEQ } }); await InvokeAsync(() => { StateHasChanged(); }); }
protected async System.Threading.Tasks.Task Load() { tblgnpaymenttype = new CanErp2.Models.DbAtVdc2.TblGnPaymentType(); }