Example #1
0
        public IActionResult Get(long id, string languageCode = LanguageCode.English)
        {
            var postModel = _postServices.GetPostModelById(id, languageCode);

            if (postModel == null)
            {
                return(NotFound());
            }

            return(Ok(postModel));
        }