private static void GenerateXmlReports()
        {
            var context = new ComputersFactoryDbContext();

            var computerShopsIds = context.ComputersShops.ToList();

            var computers = context.Computers.Select(c => new ComputerIdPriceView
            {
                Id    = c.Id,
                Price = c.Price
            })
                            .ToList();

            var saleGenerator        = new SaleGenerator(computers);
            var salesRepotsGenerator = new SalesReportGenerator(saleGenerator, computerShopsIds);

            var generatedReports = salesRepotsGenerator.GenerateData(100);

            var xmlWriter = new SalesReportsXmlGenerator();

            xmlWriter.GenererateXmlFiles(generatedReports);
        }
 private static void SeedSales(SalesContext db, int count)
 {
     SaleGenerator.InitialSalesSeed(db, count);
 }