Example #1
0
        public IActionResult GetWord(Guid userId, Guid id)
        {
            var word = _manager.GetWord(userId, id);

            return(word != null
                ? StatusCode(StatusCodes.Status200OK, word)
                : StatusCode(StatusCodes.Status404NotFound, null));
        }