Planning-BE/src/main/kotlin/org/octopus/internal/services/EntryService.kt

12 lines
367 B
Kotlin
Executable File

package org.octopus.internal.services
import org.octopus.internal.common.models.Entry
import org.octopus.internal.web.dtos.EntryDto
interface EntryService {
fun createEntry(entry: EntryDto): Entry
fun getAllEntries(): MutableList<Entry>
fun deleteAll(): Boolean
fun deleteById(id: Long): Boolean
fun editEntry(id: Long, entry: EntryDto): Entry
}