forcemanager and small blazor changes

This commit is contained in:
Norm Rasmussen
2022-06-16 14:39:38 -04:00
parent fead4cdbd6
commit f493b37b1e
96 changed files with 1423 additions and 11 deletions

View File

@ -48,10 +48,11 @@
</body>
@code {
public string? TaskNote;
//var accounts = new List<string, KeyValuePair<KeyValuePair<string, string>>>
// accounts list
//key: hubspot, value: key: call them, value: call today
public var accounts = new List<KeyValuePair<string, KeyValuePair<string, string>>>();
private string? newAccount;
private List<Account> accounts = new List<Account>();
private Dictionary<string, string> tasks = new();
private string? newTask;
private bool accountboxvalue { get; set; }
@ -63,24 +64,21 @@
{
if (!string.IsNullOrWhiteSpace(newAccount))
{
Account accounts = new Account(AccountName, tasks, LastContacted);
accounts.Add(accounts);
Account newAccount = new Account{newAccount};
accounts.Add(new Account { AccountName = newAccount });
accounts.Add(new KeyValuePair<string, KeyValuePair<string, string>>(newAccount()));
newAccount = string.Empty;
}
}
private void addTask()
{
{
if (!string.IsNullOrWhiteSpace(newTask))
{
if (Account.Equals(accountboxvalue));
string key = "accountboxvalue";
bool keyExists = KeyValuePair.ContainsKey(key);
if (keyExists)
{
accounts.Add(new KeyValuePair<string,)
tasks.Add(newTask, "");
newTask = string.Empty;
}
}
}
}
}