Exemplo n.º 1
0
        public IActionResult Get(int id)
        {
            var postTag = _postTagRepository.GetById(id);

            if (postTag == null)

            {
                return(NotFound());
            }
            return(Ok(postTag));
        }