16 lines
331 B
Java
16 lines
331 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;
|
|
|
|
void deleteComputer(String id);
|
|
}
|