public static dynamic PensionBeneficiaryList(PensionBeneficiaryListModel obj)
        {
            dynamic objdata = new ExpandoObject();

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

                PensionBeneficiaryListRespModel beneficiaryRespObj = JsonConvert.DeserializeObject <PensionBeneficiaryListRespModel>(BeneficiaryResponse);
                if (beneficiaryRespObj.responseCode == "2000")
                {
                    objdata.status = true;
                    objdata.result = beneficiaryRespObj;
                }
                else
                {
                    objdata.status = false;
                    objdata.result = "RESPONSE FROM PENSION DEPT : " + beneficiaryRespObj.reason;
                }
            }
            catch (Exception ex)
            {
                objdata.status = false;
                objdata.result = "RESPONSE FROM PENSION DEPT : " + ex.Message.ToString();
            }
            return(objdata);
        }
        public IHttpActionResult PensionBeneficiaryList(dynamic data)
        {
            dynamic objdata = new ExpandoObject();

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