public TeamsController(IRepository repository, IAppContext appContext) { this.repository = repository; this.appContext = appContext; }