public virtual async Task <bool> ExistsUserAsync(string userId) { var exists = await IdentityRepository.ExistsUserAsync(userId); if (!exists) { throw new UserFriendlyErrorPageException(string.Format(IdentityServiceResources.UserDoesNotExist().Description, userId), IdentityServiceResources.UserDoesNotExist().Description); } return(true); }