public static void SaveData(AdditionalData data)
 {
     using (var context = new ElectronicStoreSQLiteContext())
     {
         context.AdditionalDatas.Add(data);
         context.SaveChanges();
     }
 }
        public static void AddSqLiteData(ElectronicStoresSystemDbContext ctx)
        {
            var products = ctx.Products.ToList();

            foreach (var product in products)
            {
                var data = new AdditionalData
                {
                    InfoDescription = product.ProductName,
                    Mark = rand.Next(10, 20),
                };

                SaveData(data);
            }
        }