public IActionResult FindAllWords([FromQuery] WordUrlQuery query) { var item = _repository.FindAllWordsAsync(query); if (item.Results.Count == 0) { return(NotFound()); } PaginationList <DTOWord> list = CreateLinkListDTOWord(query, item); return(Ok(list)); }