forcemanager and small blazor changes
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user