private static void PrepareDatabase(ShopDbContext db) { db.Database.EnsureDeleted(); db.Database.EnsureCreated(); }