protected async System.Threading.Tasks.Task Load() { canEdit = true; var dbAtVdc2GetTblGnPaymentTermByPaymentTermSeqResult = await DbAtVdc2.GetTblGnPaymentTermByPaymentTermSeq(int.Parse($"{PaymentTerm_SEQ}")); tblgnpaymentterm = dbAtVdc2GetTblGnPaymentTermByPaymentTermSeqResult; }
protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnPaymentTerm args) { try { var dbAtVdc2UpdateTblGnPaymentTermResult = await DbAtVdc2.UpdateTblGnPaymentTerm(int.Parse($"{PaymentTerm_SEQ}"), tblgnpaymentterm); DialogService.Close(tblgnpaymentterm); } catch (Exception dbAtVdc2UpdateTblGnPaymentTermException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblGnPaymentTerm"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblGnPaymentTerm args) { var result = await DialogService.OpenAsync <EditTblGnPaymentTerm>("Edit Tbl Gn Payment Term", new Dictionary <string, object>() { { "PaymentTerm_SEQ", args.PaymentTerm_SEQ } }); await InvokeAsync(() => { StateHasChanged(); }); }
protected async System.Threading.Tasks.Task Load() { tblgnpaymentterm = new CanErp2.Models.DbAtVdc2.TblGnPaymentTerm(); }