Exemplo n.º 1
0
        public IList<PushResults> Push(PushOptions options)
        {
            var results = new List<PushResults>();

            results.Add(ProcessFiles(options));

            return results;
        }
Exemplo n.º 2
0
        PushResults ProcessFiles(PushOptions options)
        {
            var result = new PushResults();

            if (options.ProcessPrices)
            {
                var r = ProcessPriceFiles();
                result.Merge(r);
            }

            if (options.ProcessQty)
            {
                var r = ProcessQtyFiles();
                result.Merge(r);
            }

            return result;
        }