public IActionResult GetNameById(int id) { var name = _postCategoryService.GetNameById(id); return(Json(new { name })); }