Пример #1
0
 public void init()
 {
     InitialStaticList = new List <List <int> >()
     {
         new List <int>()
         {
             1, 2
         }, new List <int>()
         {
             1, 3
         }, new List <int>()
         {
             2, 3
         }, new List <int>()
         {
             1, 2, 3, 4
         }
     };
     loadProductsById = new LoadProductsById();
 }
Пример #2
0
        public List <Product> LoadFromProductTransactionList(List <List <int> > transactionList)
        {
            ILoadProducts productLoader = new LoadProductsById();

            return(productLoader.LoadProducts(transactionList));
        }