public async Task <ActionResult <WordsDto> > AddWord(WordsDto dto)
        {
            var word = await _repository.CreateWord(dto);

            if (word != null)
            {
                return(Ok(_mapper.Map <WordsDto>(word)));
            }

            return(StatusCode(501));
        }