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
}