//
        // GET: /EwalletWithdrawDetails/Details

        public ActionResult Details()
        {
            string datetime = Request.Form["localtime"].ToString();
            ViewBag.datetime = datetime;
            Api.Affiliates.Affiliates ApiAffiliates = new Api.Affiliates.Affiliates();
            List<Domain.Socioboard.Domain.EwalletWithdrawRequest> lstEwalletWithdrawRequest = (List<Domain.Socioboard.Domain.EwalletWithdrawRequest>)(new JavaScriptSerializer().Deserialize(ApiAffiliates.GetAllEwalletWithdraw(), typeof(List<Domain.Socioboard.Domain.EwalletWithdrawRequest>)));
            return PartialView("_WithdrawRequestPartial",lstEwalletWithdrawRequest);
        }
        //
        // GET: /EwalletWithdrawDetails/Details

        public ActionResult Details()
        {
            if (Session["User"] != null)
            {
                Domain.Socioboard.Domain.User _User = (Domain.Socioboard.Domain.User)Session["User"];
                if (_User.UserType != "SuperAdmin")
                {
                    return RedirectToAction("Index", "Index");
                }
            }
            else
            {
                return RedirectToAction("Index", "Index");
            }

            string datetime = Request.Form["localtime"].ToString();
            ViewBag.datetime = datetime;
            Api.Affiliates.Affiliates ApiAffiliates = new Api.Affiliates.Affiliates();
            List<Domain.Socioboard.Domain.EwalletWithdrawRequest> lstEwalletWithdrawRequest = (List<Domain.Socioboard.Domain.EwalletWithdrawRequest>)(new JavaScriptSerializer().Deserialize(ApiAffiliates.GetAllEwalletWithdraw(), typeof(List<Domain.Socioboard.Domain.EwalletWithdrawRequest>)));
            return PartialView("_WithdrawRequestPartial",lstEwalletWithdrawRequest);
        }
Exemplo n.º 3
0
        //
        // GET: /EwalletWithdrawDetails/Details

        public ActionResult Details()
        {
            if (Session["User"] != null)
            {
                Domain.Socioboard.Domain.User _User = (Domain.Socioboard.Domain.User)Session["User"];
                if (_User.UserType != "SuperAdmin")
                {
                    return(RedirectToAction("Index", "Index"));
                }
            }
            else
            {
                return(RedirectToAction("Index", "Index"));
            }

            string datetime = Request.Form["localtime"].ToString();

            ViewBag.datetime = datetime;
            Api.Affiliates.Affiliates ApiAffiliates = new Api.Affiliates.Affiliates();
            List <Domain.Socioboard.Domain.EwalletWithdrawRequest> lstEwalletWithdrawRequest = (List <Domain.Socioboard.Domain.EwalletWithdrawRequest>)(new JavaScriptSerializer().Deserialize(ApiAffiliates.GetAllEwalletWithdraw(), typeof(List <Domain.Socioboard.Domain.EwalletWithdrawRequest>)));

            return(PartialView("_WithdrawRequestPartial", lstEwalletWithdrawRequest));
        }
        //
        // GET: /EwalletWithdrawDetails/Details

        public ActionResult Details()
        {
            string datetime = Request.Form["localtime"].ToString();

            ViewBag.datetime = datetime;
            Api.Affiliates.Affiliates ApiAffiliates = new Api.Affiliates.Affiliates();
            List <Domain.Socioboard.Domain.EwalletWithdrawRequest> lstEwalletWithdrawRequest = (List <Domain.Socioboard.Domain.EwalletWithdrawRequest>)(new JavaScriptSerializer().Deserialize(ApiAffiliates.GetAllEwalletWithdraw(), typeof(List <Domain.Socioboard.Domain.EwalletWithdrawRequest>)));

            return(PartialView("_WithdrawRequestPartial", lstEwalletWithdrawRequest));
        }