public Startup(IConfiguration configuration) { Configuration = configuration; using (var db = new MindgrubChallengeDBContext()) { db.Database.EnsureCreated(); db.Database.Migrate(); } }
public GeolocationRepository(MindgrubChallengeDBContext context) { this.context = context; }