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