@page "/accounts" @using SqliteWasmHelper @using BlazorWasmExample.Data @using Microsoft.EntityFrameworkCore @inject ISqliteWasmDbContextFactory Factory Accounts

Accounts

Assigned Company Names

    @foreach (var account in accounts) { @account.AccountName
    Boolvalue: @accountboxvalue
    }

Tasks

{ @foreach (var tasks in accounts) {
  • @tasks.Tasks
  • } }
      @foreach (var task in ) {
    • @task.TaskName
    • }
    @code { //var accounts = new List>> // accounts list //key: hubspot, value: key: call them, value: call today public var accounts = new List>>(); private string? newAccount; private string? newTask; private bool accountboxvalue { get; set; } private void toggle() { accountboxvalue = !accountboxvalue; } private void addAccount() { if (!string.IsNullOrWhiteSpace(newAccount)) { accounts.Add(new KeyValuePair>(newAccount())); newAccount = string.Empty; } } private void addTask() { { string key = "accountboxvalue"; bool keyExists = KeyValuePair.ContainsKey(key); if (keyExists) { accounts.Add(new KeyValuePair