public SessionHub(ISessionProvider sessionProvider, IUserRepo userRepo, IStoryRepo storyRepo) { _sessionProvider = sessionProvider; _userRepo = userRepo; _storyRepo = storyRepo; }
public SessionProvider(ISessionRepo sessionRepo, IStoryRepo storyRepo, IUserRepo userRepo, IBackgroundJobClient backgroundJobClient) { _sessionRepo = sessionRepo; _storyRepo = storyRepo; _userRepo = userRepo; _backgroundJobClient = backgroundJobClient; }
public FavoritesController(IStoryRepo storyRepo) { _storyRepo = storyRepo; }
public StoryModel(IStoryRepo storyRepo) { _storyRepo = storyRepo; }
public StoryService(IHackerRestClient hackerClient, IConfiguration configuration, IStoryRepo storyRepo) { this.storyRepo = storyRepo; this.hackerClient = hackerClient; this.configuration = configuration; this.postfix = this.configuration["HackerApi:PathPostfix"]; this.storyDetailPathPrefix = this.configuration["HackerApi:StoryDetailPathPrefix"]; this.storiesPath = this.BuildStoriesPath(); Task.Run(() => this.StartAutoRetrieveStories()); }
public RatingsController(IStoryRepo storyRepo) { _storyRepo = storyRepo; }
public HomeController(IStoryRepo repo) { storyRepository = repo; }