public IActionResult EscalatedUserList(BaseRequest req) { EscalatedUserListResp resp = new EscalatedUserListResp(); try { if (RequestValidator.EscalatedUserList(req)) { if (req.user_id == JwtToken.GetUserID(req.token)) { var userList = FeedbackCRUD.GetEscalatedUser(req.user_id); resp.status_code = Ok().StatusCode; resp.status_message = StatusMessage.Success; resp.UserList = userList; } else { resp.status_code = Unauthorized().StatusCode; resp.status_message = StatusMessage.UnAuthorised; } } else { resp.status_code = BadRequest().StatusCode; resp.status_message = StatusMessage.BadRequest; } } catch (Exception es) { resp.status_code = 500; resp.status_message = StatusMessage.InternalServerError; } return(Ok(resp)); }