protected bool Equals(TodoItem other) { return(Id.Equals(other.Id)); }
public void ReplaceAllData(TodoItem todoItem) { Text = todoItem.Text; DateCompleted = todoItem.DateCompleted; DateCreated = todoItem.DateCreated; }