Пример #1
0
        public bool CheckIfUserProfileExists()
        {
            var id = User.Claims.Single(c => c.Type == "Id").Value;

            return(profilesService.DoesProfileExist(id));
        }