some changes

This commit is contained in:
gowthaman
2024-05-27 12:52:14 +05:30
parent 06637c21ee
commit 4e80a3d9f2
3 changed files with 22 additions and 3 deletions

View File

@@ -301,6 +301,7 @@ fun main(args: Array<String>) {
}
}
get("/{entity}", Entities::getAll, Roles(adminRole, viewRole, appAdmin) )
post("/{entity}/next", Entities::getNextSeqNo, Roles(adminRole, viewRole, appAdmin))
get("/{entity}/{id}", Entities::view, Roles(adminRole, viewRole, appAdmin))
post("/{entity}/search", Entities::search, Roles(adminRole, viewRole, appAdmin))