public void Setup() { service = new WordCountService(); }
public WordCounterController(IWordCountService wordService, IJsonResponseFormatHelper responseFormatHelper) { this.wordService = wordService; this.responseFormatHelper = responseFormatHelper; }
public WordCountController(IMemoryCache cache, IWordCountService wordCountService) { _cache = cache; _wordCountService = wordCountService; }