14 lines
294 B
Java
14 lines
294 B
Java
|
package example.service;
|
||
|
|
||
|
import example.model.Computer;
|
||
|
|
||
|
import java.sql.SQLException;
|
||
|
import java.util.List;
|
||
|
|
||
|
public interface IComputerService {
|
||
|
|
||
|
public void addComputer(String name, String brand, String type, String price);
|
||
|
|
||
|
List<Computer> listComputer() throws SQLException;
|
||
|
}
|