protected async void Load() { var canErpDbAt132GetVwVendorsResult = await CanErpDbAt132.GetVwVendors(); getVwVendorsResult = canErpDbAt132GetVwVendorsResult; tblpovendor = new ErpCan.Models.CanErpDbAt132.TblPoVendor(); }
protected async void Form0Submit(ErpCan.Models.CanErpDbAt132.TblPoVendor args) { try { var canErpDbAt132UpdateTblPoVendorResult = await CanErpDbAt132.UpdateTblPoVendor($"{Vendor_ID}", tblpovendor); DialogService.Close(tblpovendor); } catch (Exception canErpDbAt132UpdateTblPoVendorException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblPoVendor"); } }
protected async void Grid0RowSelect(ErpCan.Models.CanErpDbAt132.TblPoVendor args) { var result = await DialogService.OpenAsync <EditTblPoVendor>("Edit Tbl Po Vendor", new Dictionary <string, object>() { { "Vendor_ID", args.Vendor_ID } }); await InvokeAsync(() => { StateHasChanged(); }); }