// GET: Admin/TaiKhoan
        public ActionResult Index()
        {
            var Id          = Session["IDUser"].ToString();
            var IDPermision = dao.GetByIDPermision(int.Parse(Id)).ToString();
            var Permision   = dao.GetPermision(int.Parse(IDPermision));

            ViewBag.Permision = Permision;
            return(View());
        }
        public ActionResult Index()
        {
            var Id          = Session["IDUser"].ToString();
            var IDPermision = dao.GetByIDPermision(int.Parse(Id)).ToString();
            var Permision   = dao.GetPermision(int.Parse(IDPermision));

            ViewBag.Permision = Permision;
            if (Session["Username"].ToString() != null)
            {
                return(View());
            }
            else
            {
                return(RedirectToAction("Index", "Login"));
            }
        }