Пример #1
0
 public void RemoveEvent(FundingLineEvent pFundingLineEvent)
 {
     (_events.Find(e => ((e.Id == pFundingLineEvent.Id) ? true : false))).IsDelete = true;
        _SortList();
 }
Пример #2
0
 public void AddEvent(FundingLineEvent pFundingLineEvent)
 {
     FundingLineEvent found = _events.Find(e => (e.Id == pFundingLineEvent.Id));
        if(found==null)
        {
       _events.Add(pFundingLineEvent);
        }
        else
        {
       found.IsDelete = false;
        }
     _SortList();
 }