Esempio n. 1
0
        public ActionResult CheckOneServer(string IP)
        {
            var loggedUser = UsersUtilities.GetLoggedUser();

            if (loggedUser == null)
            {
                return(Redirect("~/User/Login"));
            }
            return(Json(ServerUtilities.CheckServer(loggedUser, IP), JsonRequestBehavior.AllowGet));
        }