public Repository(InputModelDBContext db) { this.db = db; table = db.Set <T>(); }
public Repository() { this.db = new InputModelDBContext(); table = db.Set <T>(); }