コード例 #1
0
        //todo authenticate user
        public async Task <ActionResult> Autenticate(string userName)
        {
            var user = await _userIdentity.GetUserByName(userName);

            UserAutenticate(user);
            return(Json(true, JsonRequestBehavior.AllowGet));
        }