public async Task DeleteComment(ICommentViewModel comment) { await service.DeleteComment( HostAddress.Create(Repository.CloneUrl), Repository.Owner, Repository.Name, comment.DatabaseId).ConfigureAwait(true); timeline.Remove(comment); }
public async Task DeleteComment(ICommentViewModel comment) { await service.DeleteComment( HostAddress.Create(Repository.CloneUrl), Repository.Owner, Repository.Name, comment.DatabaseId).ConfigureAwait(true); timeline.Remove(comment); }