public IActionResult GetUserPosts(int userId) { var posts = _service.GetUsersPosts(userId); return(View("PostDetails", posts)); }