Ejemplo n.º 1
0
 /// <summary>
 /// Creates the model, asynchronously.
 /// </summary>
 /// <param name="id">The identifier.</param>
 /// <returns>
 /// The created model task.
 /// </returns>
 protected override Task <MessagesViewModel> CreateModelAsync(int id)
 {
     return(MessagesViewModel.CreateAsync(id, YammerService.Instance.GetReceivedMessagesAsync));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates the model, asynchronously.
 /// </summary>
 /// <param name="id">The identifier.</param>
 /// <returns>
 /// The created model task.
 /// </returns>
 protected override Task <MessagesViewModel> CreateModelAsync(int id)
 {
     return(MessagesViewModel.CreateAsync(id, this.GetGroupMessagesAsync, this.Group.Id));
 }