Ejemplo n.º 1
0
 public void RemoveEvent(FundingLineEvent pFundingLineEvent)
 {
     (_events.Find(e => ((e.Id == pFundingLineEvent.Id) ? true : false))).IsDelete = true;
        _SortList();
 }
Ejemplo n.º 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();
 }