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