package io.nrkv.HypeAPI.task.service

import io.nrkv.HypeAPI.task.model.TaskRequest
import io.nrkv.HypeAPI.task.model.TaskResponse

/**
 * Created by Ivan Nyrkov on 08/06/17.
 */
interface TaskService {
    fun create(task: TaskRequest): TaskResponse
    fun getById(taskId: String): TaskResponse?
    fun getAll(): List<TaskResponse>
    fun update(taskId: String, updatedTask: TaskRequest): TaskResponse?
    fun delete(taskId: String)
}