public ActionResult GetDetailPost(long postId)
        {
            if (!Request.Headers.ContainsKey("Authorization"))
            {
                return(Unauthorized());
            }
            var data = _alphahomeService.GetDetailPost(postId);

            return(new JsonResult(data));
        }
Esempio n. 2
0
        public ActionResult GetDetailPost(long postId)
        {
            var data = _alphahomeService.GetDetailPost(postId);

            return(Ok(data));
        }