Skip to content

Instantly share code, notes, and snippets.

@jonathanpeppers
Created December 15, 2016 02:37
Show Gist options
  • Save jonathanpeppers/a1f75a9eb5fd055c720797a635189b71 to your computer and use it in GitHub Desktop.
Save jonathanpeppers/a1f75a9eb5fd055c720797a635189b71 to your computer and use it in GitHub Desktop.
For Packt, GetConversations()
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