public ActionResult WalletBalanceFunction(DatasForWalletBalance objDatasForWalletBalance)
        {
            try
            {
                string URI = "https://allbills.in/api/wallet-balance";

                var json = new JavaScriptSerializer().Serialize(objDatasForWalletBalance);
                using (WebClient wc = new WebClient())
                {
                    string  HtmlResult = wc.UploadString(URI, json);
                    dynamic data       = JObject.Parse(HtmlResult);
                    //"Message":"String Content",
                    //"isError":"true",
                    //"wallet":"String Content",
                    //"TimeStamp":"String Content",
                    //"Partnerid":"String Content"


                    return(Json(data.wallet, JsonRequestBehavior.AllowGet));
                }
            }
            catch (Exception ex)
            {
                throw;
            }
        }
        public ActionResult Index()
        {
            try
            {
                DatasForWalletBalance objDatasForWalletBalance = new DatasForWalletBalance();
                objDatasForWalletBalance.id          = "95317608";
                objDatasForWalletBalance.token       = "ZbfFt6JWuRsdhySrCG80eoVI4UpcYNQP9AlwqXKz";
                ServicePointManager.SecurityProtocol = (SecurityProtocolType)48 | (SecurityProtocolType)192 | (SecurityProtocolType)768 | (SecurityProtocolType)3072;
                string URI = "https://allbills.in/api/wallet-balance";

                var json = new JavaScriptSerializer().Serialize(objDatasForWalletBalance);
                using (WebClient wc = new WebClient())
                {
                    string  HtmlResult = wc.UploadString(URI, json);
                    dynamic data       = JObject.Parse(HtmlResult);
                    ViewData["Balance"] = JObject.Parse(HtmlResult)["Wallet"];

                    //return Json(data.wallet, JsonRequestBehavior.AllowGet);
                }

                //DatasForRecharge objDatasForWalletBalance = new DatasForRecharge();
                //objDatasForWalletBalance.id = "95317608";
                //objDatasForWalletBalance.token = "ZbfFt6JWuRsdhySrCG80eoVI4UpcYNQP9AlwqXKz";
                //objDatasForWalletBalance.RechargeTo = "9345617197";
                //objDatasForWalletBalance.ProviderId = "1";
                //objDatasForWalletBalance.Amount = "10";

                //ServicePointManager.SecurityProtocol = (SecurityProtocolType)48 | (SecurityProtocolType)192 | (SecurityProtocolType)768 | (SecurityProtocolType)3072;
                //string URI = "https://allbills.in/api/recharge";

                //var json = new JavaScriptSerializer().Serialize(objDatasForWalletBalance);
                //using (WebClient wc = new WebClient())
                //{

                //    string HtmlResult = wc.UploadString(URI, json);
                //    //dynamic data = JObject.Parse(HtmlResult);
                //    //ViewData["Balance"] = JObject.Parse(HtmlResult)["Wallet"];

                //    //return Json(data.wallet, JsonRequestBehavior.AllowGet);

                //}



                return(View());
            }
            catch (Exception ex)
            {
                return(View());
            }
        }