Blog.Logic.Core.UsersLogic.GetUsersWithNoIdentityId C# (CSharp) Метод

GetUsersWithNoIdentityId() публичный Метод

public GetUsersWithNoIdentityId ( ) : List
Результат 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);
            }
        }