Пример #1
0
 public bool UpdateAt(PurchaseHistory UpdElement, int ElementIndex)
 {
     ListOfHistory[ElementIndex] = UpdElement;
     return(true);
 }
Пример #2
0
 public bool Remove(PurchaseHistory DelElement)
 {
     try { ListOfHistory.Remove(DelElement); }
     catch (Exception) { return(false); }
     return(true);
 }
Пример #3
0
 public int Add(PurchaseHistory NewElement)
 {
     ListOfHistory.Add(NewElement);
     return(0);
 }