public void AddSubHistory(IHistoryItemDTO historyItemDto) { if (historyItemDto.IsAnImplementationOf <NullHistoryItemDTO>()) { return; } _subHistoryItems.Add(historyItemDto); historyItemDto.Parent = this; }
public void EditCommentFor(IHistoryItemDTO historyItemDTO) { if (historyItemDTO.IsAnImplementationOf <NullHistoryItemDTO>()) { return; } using (var presenter = _applicationController.Start <ICommentPresenter>()) { presenter.EditCommentFor(historyItemDTO); } }