Example #1
0
 public IEnumerable <User> GetAll()
 {
     if (userAPI == null)
     {
         return(null);
     }
     return(userAPI.GetAllUsersFromDatabase().Select(user =>
     {
         user.Password = null;
         return user;
     }));
 }