public void AddItem(TimeAxisItem e) { if (Items.Any(x => x.Descript == e.Descript)) { throw new AbpException("Descript could not be same"); } Items.Add(e); }
public void RemoveItem(TimeAxisItem e) { Items.Remove(e); }