public bool Add(clsClient client) { if (Exist(client.MyClient.Id) == false) { myClientList.Add(client.MyClient.Id, client); return(true); } else { return(false); } }
public clsClient Update(string stringId, clsClient client) { return(myClientList[stringId] = client); }