public void UpdateItem(string id, string title, string detail, DateTime date) { this.selectItem.title = title; this.selectItem.detail = detail; this.selectItem.date = date; this.selectItem = null; }
public void DeleteItem() { this.allItems.Remove(selectItem); this.selectItem = null; }