예제 #1
0
        public IActionResult Get(long id)
        {
            var achievementItem = _achievementRepository.Find(id);

            if (achievementItem == null)
            {
                return(NotFound(ErrorCode.ItemNotFound.ToString()));
            }

            return(Ok(achievementItem));
        }