public virtual void SeedData() { using (var c = new VoteMonitorContext(ContextOptions)) { c.Database.EnsureCreated(); c.EnsureSeedData(); } }