UserService.java 396 Bytes
package fr.plil.sio.web.mvc;

import java.util.List;
import org.springframework.web.bind.annotation.ResponseBody;

public interface UserService {

    User createUser(String username, String password);

    User findByUsername(String username);
    
    List<Dette> findDettesByUsername(String username);

    List<User> findAll();
    
    boolean addDette(String username,String sommeDette);
}