Esempio n. 1
0
        public void Submit(IColourMatch colourMatch)
        {
            var submissionResult = new OrderSubmissionResult();

            foreach (var orderItem in this._OrderItems)
            {
                var match = colourMatch.MatchColourFromUrl(orderItem.Url);
                if (match == null)
                {
                    continue;
                }

                result.ColourMatches.Add(match);
            }
        }
 public FulfilmentOrderController(ILogger <FulfilmentOrderController> logger, IColourMatch colourMatch)
 {
     _logger      = logger;
     _colourMatch = colourMatch;
 }