public interface TodoMapper
Modifier and Type | Method and Description |
---|---|
int |
deleteTodo(Todo todo) |
List<Todo> |
getAllTodos() |
Todo |
getTodo(int id) |
int |
insertTodo(Todo todo) |
int |
updateTodo(Todo todo) |
List<Todo> getAllTodos()
int insertTodo(Todo todo)
todo
- the Todo
to addint updateTodo(Todo todo)
todo
- the Todo
to updateint deleteTodo(Todo todo)
todo
- Copyright © 2016. All rights reserved.