Example #1
0
 public int getPos(WriteoffDetailsHelper wod_helper)
 {
     if (_collection.Contains(wod_helper))
     {
         return(_collection.IndexOf(wod_helper) + 1);
     }
     return(-1);
 }
Example #2
0
 public void remove(WriteoffDetailsHelper wod_helper)
 {
     if (_collection.Contains(wod_helper))
     {
         _collection.Remove(wod_helper);
         _collection.All(x => { x.RowIndex = 1; return(true); });
         updateLastRow();
     }
 }
Example #3
0
 public void add(WriteoffDetailsHelper wod_helper)
 {
     _collection.Add(wod_helper);
     updateLastRow();
 }