public async Task <IActionResult> Details(string id) { var walletContext = await _walletService.GetWalletAsync(_agentOptions.WalletConfiguration, _agentOptions.WalletCredentials); var model = new SchemaDetailViewModel { Schema = await _walletRecordService.GetAsync <SchemaRecord>(walletContext, id), AssociateCredDefinition = await _schemaService.ListCredentialDefinitionsAsync(walletContext) }; return(View(model)); }
public SchemaDetailPage(Schema schema) { viewModel = new SchemaDetailViewModel(schema); try { this.Resources.Add(StyleSheet.FromAssemblyResource(IntrospectionExtensions.GetTypeInfo(typeof(SchemaDetailPage)).Assembly, "VaccineCalendar.Vaccine.css")); } catch (Exception ex) { throw; } //Content = ContentBuilder(); }