Пример #1
0
        private void ValidateLottery(StockListItem stockList)
        {
            if (stockList.PurchaseWay != PurchaseEnum.Lottery)
            {
                return;
            }
            LotterySaleManagmentTicket lottery = DataLayerInstance.GetLotteryByProductID(stockList.Product.SystemId);

            lottery.InformCancel(syncher);
            DataLayerInstance.EditLotteryInDatabase(lottery);
        }