Example #1
0
        private ApplicationUser GetCurrentUser()
        {
            string userId = User.Claims.ToArray()[0].Value;

            return(AuthenticationLogic.GetUserByID(userId));
        }