Esempio n. 1
0
        public async Task <ActionResult <Post> > GetPost(string researchId, string postId)
        {
            var post = await _repository.GetPost(researchId, postId);

            if (post == null)
            {
                return(NotFound());
            }
            return(Ok(post));
        }