Esempio n. 1
0
        public void Run(Provider provider, int count, DateTime dateTime, float allPurchasePrice, float allSalesPrice, Department department, Seller seller)
        {
            ArrivedGoods newArrivedGoods = new ArrivedGoods()
            {
                Provider         = provider,
                Count            = count,
                DateTime         = dateTime,
                AllPurchasePrice = allPurchasePrice,
                AllSalesPrice    = allPurchasePrice,
                Department       = department,
                Seller           = seller
            };

            arrivedGoodsRepository.Create(newArrivedGoods);
        }