diff --git a/src/main/java/org/erathor/api/controller/IExecutionController.java b/src/main/java/org/erathor/api/controller/IExecutionController.java index e1d2a5d..eb6bf3f 100644 --- a/src/main/java/org/erathor/api/controller/IExecutionController.java +++ b/src/main/java/org/erathor/api/controller/IExecutionController.java @@ -1,26 +1,25 @@ package org.erathor.api.controller; import org.erathor.api.model.IExecution; -import org.erathor.api.model.IModel; import java.util.List; import java.util.Optional; -public interface IExecutionController { +public interface IExecutionController { - public IExecution get(Integer id); + public I get(Integer id); - public void add(IExecution model); + public Optional getOptional(Integer id); - public void remove(IExecution model); + public void add(I model); - public Optional read(Integer id); + public void remove(I model); - public void create(IExecution model); + public void create(I model); - public void update(IExecution model); + public void update(I model); - public void delete(IExecution model); + public void delete(I model); - public List readAll(); + public List readAll(); }