Created
October 15, 2017 02:02
-
-
Save ar-android/486d3b2c50c650ac6aef92cf3a02af88 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
object JadwalSholatRepository{ | |
suspend fun getAllCity(): List<City> | |
= JadwalSholatApi.service.getAllCity().await() | |
suspend fun getJadwalByCityId(cityId: String) | |
= JadwalSholatApi.service.getJadwalByCityId(cityId).await() | |
suspend fun getJadwalDefault() | |
= JadwalSholatApi.service.getDefaultJadwal().await() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment