From 14dd3e745132fc29a1fdc68d9a3256368e97f60e Mon Sep 17 00:00:00 2001 From: jan-kir-wwu Date: Wed, 13 Dec 2023 22:16:52 +0100 Subject: [PATCH] feat: try this --- .../api/controller/IExecutionController.java | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) 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(); }