Пример #1
0
        public void OrderByOperationDateTimeInOutHistory(bool desc = false)
        {
            if (desc)
            {
                InOutHistory = InOutHistory.OrderByDescending(whr => whr.OperationDateTime).ToList();
                return;
            }

            InOutHistory = InOutHistory.OrderBy(whr => whr.OperationDateTime).ToList();
        }
Пример #2
0
 public void Add(WarehouseHistoryRecord warehouseItem)
 {
     InOutHistory.Add(warehouseItem);
 }