예제 #1
0
        public ActionResult DeActivateAccount(string password)
        {
            UserDomainLogic userDomainLogic = new UserDomainLogic();
            var             result          = userDomainLogic.DeActivateAccount(password, UserVariables.LoggedInUserGuid);

            if (result)
            {
                FormsAuthentication.SignOut();
            }
            return(Json(result, JsonRequestBehavior.AllowGet));
        }