Created
November 29, 2019 08:26
-
-
Save softberries/32889caf338ffeb61835968ae0c8b9e3 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.asyncF { implicit request => | |
repo.list().map { people => | |
Ok(Json.toJson(people)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment