Created
November 29, 2019 07:50
-
-
Save softberries/2881117a125a9f089a62bddb201770bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getPersons = Action.async { implicit request => | |
repo.list().map { people => | |
Ok(Json.toJson(people)) | |
}.unsafeToFuture() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment