Exemplo n.º 1
0
        public override void PreformDatabaseActions()
        {
            using (ApplicationDBContext context = new ApplicationDBContext()) {
                Market market = _marketRepo.GetMarketMultiEnv(context);

                foreach (var listing in market.Listings)
                {
                    listing.Quantity = 100;
                }

                context.SaveChanges();
            }
        }