/// <summary> /// The GetStock. /// </summary> /// <param name="website">The website<see cref="IWebsite"/>.</param> private void GetStock(IWebsite website) { Stock stock = website.GetStock(); if (CheckStockChange(website, stock) && Constants.GetUseMongoDb()) { Mongo.InsertStock(stock); } if (this.verboseMode) { Printer.PrintStock(stock); } this.stockRecords[website] = stock; }