Ejemplo n.º 1
0
        public ActionResult Exceptions()
        {
            HttpCookie nameCookie = Request.Cookies["_RRAUN"];

            if (nameCookie != null)
            {
                InformationServiceWrapper inforObj  = new InformationServiceWrapper();
                List <ExceptionModel>     ModelList = new List <ExceptionModel>();
                ModelList             = inforObj.FetchExceptionsForAdmin();
                ViewBag.ExceptionList = ModelList;
                return(View("Exceptions"));
            }
            else
            {
                return(RedirectToAction("Login", "Admin"));
            }
        }