public async Task GetAllWords() { var sections = await _esRepo.GetHintSections(); var items = await _esRepo.GetAllHintWords("hello"); }
public async Task <IActionResult> GetHintWords(string sectionId, string pattern) { return(Ok(await _esRepo.GetAllHintWords(pattern))); }