/// <summary> /// Get a reaction wrapper from our data store. /// </summary> /// <param name="id">Reaction id.</param> /// <returns>Reaction wrapper.</returns> public async Task <ReactionWrapper> GetWrapperAsync(Guid id) { var reactionWrapper = await _reactionRepository.GetWrapperAsync(id); reactionWrapper.Reaction.ThumbnailUri = await _entityStorageUriService.GetReactionThumbnailAccessUriAsync(reactionWrapper.Reaction.Id); reactionWrapper.Reaction.VideoUri = await _entityStorageUriService.GetReactionVideoAccessUriAsync(reactionWrapper.Reaction.Id); reactionWrapper.User.ProfileImageUri = await _entityStorageUriService.GetUserProfileImageAccessUriOrNullAsync(reactionWrapper.User); return(reactionWrapper); }