コード例 #1
0
        public IActionResult Get()
        {
            var stopwords = _stopwordService.GetStopwords();

            return(Ok(stopwords));
        }
コード例 #2
0
        public async Task <List <StopwordResponse> > Handle(GetStopwordQuery request, CancellationToken cancellationToken)
        {
            var stopwords = await _stopwordService.GetStopwords();

            return(stopwords);
        }