protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblSoCustomer args) { try { var dbAtVdc2CreateTblSoCustomerResult = await DbAtVdc2.CreateTblSoCustomer(tblsocustomer); DialogService.Close(tblsocustomer); } catch (Exception dbAtVdc2CreateTblSoCustomerException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblSoCustomer!"); } }
protected async System.Threading.Tasks.Task Load() { var dbAtVdc2GetTblGnAddressBooksResult = await DbAtVdc2.GetTblGnAddressBooks(); getTblGnAddressBooksResult = dbAtVdc2GetTblGnAddressBooksResult; var dbAtVdc2GetTblGnPaymentTermsResult = await DbAtVdc2.GetTblGnPaymentTerms(); getTblGnPaymentTermsResult = dbAtVdc2GetTblGnPaymentTermsResult; var dbAtVdc2GetTblGnPaymentTypesResult = await DbAtVdc2.GetTblGnPaymentTypes(); getTblGnPaymentTypesResult = dbAtVdc2GetTblGnPaymentTypesResult; tblsocustomer = new CanErp2.Models.DbAtVdc2.TblSoCustomer(); }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblSoCustomer args) { var result = await DialogService.OpenAsync <EditTblSoCustomer>("Edit Tbl So Customer", new Dictionary <string, object>() { { "Customer_SEQ", args.Customer_SEQ } }); await InvokeAsync(() => { StateHasChanged(); }); }