func (u *UserRepository) ByID(ID int) (*User, error) {
	for _, user := range u.Users {
		if user.ID == ID {
			return user, nil
		}
	}
	return nil, ErrNotFound
}
func (u *UserRepository) ByID(ID int) (*User, error) {
	for _, user := range u.Users {
		if user.ID == ID {
			return user, nil
		}
	}
	return nil, ErrNotFound
}
func ( u * UserRepository ) ByID ( ID int ) ( * User , error ) { for _ , user := range u . Users { if user . ID == ID { return user , nil } } return nil , ErrNotFound }
// ByID finds a user by their ID
ByID finds a user by their ID