Example #1
0
        public async Task <IActionResult> GetPostByIdAsync([FromRoute] int id)
        {
            Post post = await topicObj.GetPostByIdAsyncFromDB(id);

            return(Ok(post));
        }