public static dynamic personGrevDetails(personGrevDetailsModel obj)
        {
            dynamic objdata = new ExpandoObject();

            try
            {
                obj.password = "******";
                obj.userName = "******";
                string pensionResponse = POST_RequestAsync(personGrevenacneDetailsUrl, JsonConvert.SerializeObject(obj));
                if (string.IsNullOrEmpty(pensionResponse))
                {
                    objdata.status = false;
                    objdata.result = "No Response from pension department service !!!, Please try after some time";
                    return(objdata);
                }

                grevDetailsRespModel pensionRespObj = JsonConvert.DeserializeObject <grevDetailsRespModel>(pensionResponse);
                if (pensionRespObj.responseCode == "101")
                {
                    objdata.status = true;
                    objdata.result = pensionRespObj;
                }
                else
                {
                    objdata.status = false;
                    objdata.result = "RESPONSE FROM PENSION DEPT : " + pensionRespObj.reason;
                }
            }
            catch (Exception ex)
            {
                objdata.status = false;
                objdata.result = "RESPONSE FROM PENSION DEPT : " + ex.Message.ToString();
            }
            return(objdata);
        }
        public IHttpActionResult personGrevDetails(dynamic data)
        {
            dynamic objdata = new ExpandoObject();

            try
            {
                string serialized_data         = token_gen.Authorize_aesdecrpty(data);
                personGrevDetailsModel rootobj = JsonConvert.DeserializeObject <personGrevDetailsModel>(serialized_data);
                return(Ok(pensionDeptHelper.personGrevDetails(rootobj)));
            }
            catch (Exception ex)
            {
                objdata.status = false;
                objdata.result = ex.Message.ToString();
            }
            return(Ok(objdata));
        }