Example #1
0
        /// <inheritdoc/>
        public async Task PostComment(ICommentViewModel comment)
        {
            var address = HostAddress.Create(Repository.CloneUrl);
            var result  = await service.PostComment(address, Id, comment.Body).ConfigureAwait(true);

            timeline.Remove(comment);
            await AddComment(result).ConfigureAwait(true);
            await AddPlaceholder().ConfigureAwait(true);
        }