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