public ActionResult Index(AdminDTHOrderModel model)
        {
            if (ModelState.IsValid)
            {
                AdminDTHOrderDAL dalObj = new AdminDTHOrderDAL();
                int UserID = 0;
                if(Session["UserID"]!=null)
                    UserID=Convert.ToInt32(Session["UserID"]);
                //int UserID=254;
                int Cost = 200;
                dalObj.DTHOrder(model.nameseries,model.Season,model.AccountNo,Cost,UserID);
                return RedirectToAction("Index", "MemberTransaction");

                ///Home/Index

            }
            ModelState.AddModelError("", "Incorrect bank details are entered.");
            return View();
        }
        public ActionResult GetSeason(string SeasonName)
        {
            if (ModelState.IsValid)
            {
                AdminDTHOrderDAL dalObj = new AdminDTHOrderDAL();

                int val = 0;
                val = dalObj.SeasionNo(SeasonName);
                return Json(val);

            }
            return View();
        }
        //
        // GET: /AdminDthOrder/
        public ActionResult Index()
        {
            if (Session["UserID"] != null)
            {
                if (Session["Role"].Equals("admin"))
                {
                    return RedirectToAction("Index", "Admin");
                }
            }
            else
            {
                return RedirectToAction("Login", "Account");
            }

            List<string> operate = new List<string>();
            operate.Add("Tata Sky");
            operate.Add("Dish TV");
            operate.Add("Airtel DTH");
            operate.Add("Sun Direct");
            operate.Add("Reliance Big TV");

            ViewBag.list = operate;

            List<string> banks = new List<string>();
            banks.Add("HDFC");
            banks.Add("CITI");
            banks.Add("ICICI");
            banks.Add("SBI");

            ViewBag.listbank = banks;

            List<string> SeriesName = new List<string>();
            AdminDTHOrderDAL dalObj=new AdminDTHOrderDAL();
            SeriesName = dalObj.SeriesName();
            ViewBag.seriesName = SeriesName;

            return View();
        }