Ejemplo n.º 1
0
        public ActionResult AccessLog(string xx = "/")
        {
            var ip = Request.Form["ActionRemove"];
            //if (!string.IsNullOrEmpty(ip))
            {
                var currentID = LoginsProcessing.GetRequestId(System.Web.HttpContext.Current);
                Logins.Logins_DeleteLog(ip);
                if (ip.Equals(currentID))
                {
                    Response.Redirect("/Login?ru=/Login/AccessLog");
                    return(null);
                }
            }
            var listAC = Logins.Logins_Get();

            ViewBag.ListAccessLog = listAC;
            return(View("~/Views/Login/AccessLog.cshtml"));
        }