Blog.Logic.Core.UsersLogic.GetUsersWithNoIdentityId C# (CSharp) Method

GetUsersWithNoIdentityId() public method

public GetUsersWithNoIdentityId ( ) : List
return List
        public List<User> GetUsersWithNoIdentityId()
        {
            try
            {
                var db = _userRepository.Find(a => string.IsNullOrEmpty(a.IdentityId), null, null).ToList();
                return db.Select(UserMapper.ToDto).ToList();
            }
            catch (Exception ex)
            {
                throw new BlogException(ex.Message, ex.InnerException);
            }
        }