package com.example.service; import com.example.model.User; import java.util.List; import java.util.Optional; public interface UserService { List findAllUsers(); Optional findByUsername(String username); User findById(Integer id); }