src/main/scala/bounded_contexts/tasks/application/UpdateTaskApplicationService.scala
package bounded_contexts.tasks.application
import bounded_contexts.share.infrastructure.DoobieConnection
import bounded_contexts.tasks.domain.TaskEntity
import bounded_contexts.tasks.infrestucture.TaskRepository
import bounded_contexts.tasks.domain.TaskEntity
import cats.effect.IO
object UpdateTaskApplicationService {
val connection = new DoobieConnection
val taskRepository = new TaskRepository(connection)
def update(task: TaskEntity): IO[TaskEntity] = taskRepository.update(task)
}