/// <summary>
        /// Assigns the selected functional areas.
        /// </summary>
        /// <param name="reportPresenter">The report presenter.</param>
        private static void AssignSelectedFunctionalAreas(ReportPresenter reportPresenter)
        {
            IList<string> functionalAreas = new List<string>();

            if (string.IsNullOrEmpty(reportPresenter.SelectedFunctionalAreas))
            {
                functionalAreas = reportPresenter.FunctionalAreaList.Select(item => item).ToList();
            }
            else
            {
                functionalAreas = reportPresenter.SelectedFunctionalAreas.Split(',').Select(item => item).ToList();
            }

            reportPresenter.AssignSelectedFunctionalAreaList(functionalAreas);
        }