Created
December 15, 2016 02:37
-
-
Save jonathanpeppers/a1f75a9eb5fd055c720797a635189b71 to your computer and use it in GitHub Desktop.
For Packt, GetConversations()
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
public async Task<Conversation[]> GetConversations( | |
string userName) | |
{ | |
await Sleep(); | |
return new[] | |
{ | |
new Conversation { Id = "1", UserName = "bobama" }, | |
new Conversation { Id = "2", UserName = "bobloblaw" }, | |
new Conversation { Id = "3", UserName = "georgemichael" }, | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment