public void UpdateItem(string title, string description, int priority, int id) { var item = Items.First(i => i.ID == id); item.Priority = priority; }