public void Update(ToDoItems item) { _todos[item.Key]=item; }
public void Add(ToDoItems item) { item.Key = Guid.NewGuid().ToString(); _todos[item.Key] = item; }