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