Exemplo n.º 1
0
        public IActionResult GetNameById(int id)
        {
            var name = _postCategoryService.GetNameById(id);

            return(Json(new
            {
                name
            }));
        }