public GigRepository(GigContext context) { this.context = context; // never do this in production context.Database.EnsureCreated(); }