public IActionResult FeedbackList(FeedbackListReq req)
        {
            FeedbackListResp resp = new FeedbackListResp();

            try
            {
                if (RequestValidator.FeedbackList(req))
                {
                    if (req.user_id == JwtToken.GetUserID(req.token))
                    {
                        resp.status_code    = Ok().StatusCode;
                        resp.status_message = StatusMessage.Success;
                        resp.FeedbackList   = FeedbackCRUD.GetFeedbackList(req.user_id, req.escalated_user_id)
                    }
                    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));
        }
        public IActionResult FeedbackDetailList(FeedbackListReq req)
        {
            FeedbackDetailListResp resp = new FeedbackDetailListResp();

            try
            {
                if (RequestValidator.FeedbackList(req))
                {
                    if (req.user_id == JwtToken.GetUserID(req.token))
                    {
                        int maxScale = UserCRUD.GetMaxScale();


                        resp.status_code           = Ok().StatusCode;
                        resp.status_message        = StatusMessage.Success;
                        resp.IsEscalationRequired  = UserCRUD.GetUserScale(req.user_id) == maxScale ? false : true;
                        resp.FeedbackCreatedByMe   = FeedbackCRUD.MyFeedbacks(req.user_id);
                        resp.FeedbackCreatedForMe  = FeedbackCRUD.FeedbacksCreatedForMe(req.user_id);
                        resp.FeedbackEscalatedToMe = FeedbackCRUD.FeedbacksEscalatedToMe(req.user_id);
                    }
                    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));
        }