Show deleted notes count
This commit is contained in:
@@ -47,6 +47,7 @@ class NoteService(
|
||||
fun trash(userId: Int, uuid: UUID) = noteRepository.delete(userId, uuid, permanent = false)
|
||||
fun restore(userId: Int, uuid: UUID) = noteRepository.restore(userId, uuid)
|
||||
fun delete(userId: Int, uuid: UUID) = noteRepository.delete(userId, uuid, permanent = true)
|
||||
fun countDeleted(userId: Int) = noteRepository.count(userId, deleted = true)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user