public IActionResult GetFollowedQuestions() { try { int userId = int.Parse(User.FindFirst(ClaimTypes.Sid).Value); var list = _userManagerService.GetFollowedQuestions(userId); return(Ok(list)); } catch (Exception e) { return(StatusCode(500, new { Message = "Server ERROR occured." })); } }