Example #1
0
 public async Task <IAuthor> AddRandomAuthor()
 {
     try {
         return(Mapper.MapEntities <Shared.NetworkModel.Core.IAuthor, IAuthor>(
                    await _httpClient.AddRandomAuthorAsync()
                    ));
     }
     catch (OperationCanceledException)
     {
         return(null);
     }
 }