public void AddMixedCase(string localID, CLCase model) { if (CLCases.ContainsKey(localID)) { CLCases[localID] = model; } else { CLCases.Add(localID, model); } }
public CLCase GetCLCase(string localID) { if (CLCases.ContainsKey(localID)) { return(CLCases[localID]); } else { CLCase newCase = new CLCase(); CLCases.Add(localID, newCase); return(newCase); } }