/// <summary>
        /// Function to assign history items.
        /// </summary>
        /// <param name="presenter">Presenter details</param>
        /// <param name="historyListItems">Item details</param>
        private static void AssignHistoryItems(ProjectPresenter presenter, IDictionary<string, IEnumerable<HistoryListItem>> historyListItems)
        {
            if (historyListItems.ContainsKey(RiskKeyValue))
            {
                presenter.AssignRiskHistoryList(historyListItems[RiskKeyValue].ToList());
            }

            if (historyListItems.ContainsKey(CommentsKeyValue))
            {
                presenter.AssignCommentsHistoryList(historyListItems[CommentsKeyValue].ToList());
            }
        }