示例#1
0
        //
        // GET: /Dashboard/

        public ActionResult Index()
        {
            CustomPrincipal user = User as CustomPrincipal;

            if (user.HasAccess("Booking"))
            {
                return(RedirectToAction("Index", "Booking"));
            }

            return(View());
        }