コード例 #1
0
        public async Task <ActionResult> Get(int id)
        {
            var circleTopicForReturn = _mapper.Map <CircleTopicForReturnDto>(await _repo.GetCircleTopic(id));

            circleTopicForReturn.TopicCommentCounts = await _repo.GetCircleTopicCommentCount(id);

            return(Ok(circleTopicForReturn));
        }