Пример #1
0
 public Warehouse(List<Product> incomeGoods, List<Product> soldGoods, List<Product> transferredGoods, List<Product> writtenOffGoods)
 {
     _incomeGoods = new IncomeGoods(incomeGoods);
     _soldGoods = new SoldGoods(soldGoods);
     _transferredGoods = new TransferredGoods(transferredGoods);
     _writtenOffGoods = new WrittenOffGoods(writtenOffGoods);
 }
Пример #2
0
 public Warehouse()
 {
     _incomeGoods = new IncomeGoods();
     _soldGoods = new SoldGoods();
     _transferredGoods = new TransferredGoods();
     _writtenOffGoods = new WrittenOffGoods();
 }