/// <summary>
        /// Assigns the selected project ids.
        /// </summary>
        /// <param name="reportPresenter">The report presenter.</param>
        private static void AssignSelectedProjectIds(ReportPresenter reportPresenter)
        {
            IList<int> projectIds = new List<int>();

            if (string.IsNullOrEmpty(reportPresenter.SelectedProjectIds))
            {
                projectIds = reportPresenter.FillProjectForDailyReport.Select(item => item.ProjectID).ToList();
            }
            else
            {
                projectIds = reportPresenter.SelectedProjectIds.Split(',').Select(id => Convert.ToInt32(id, CultureInfo.CurrentCulture)).ToList();
            }

            reportPresenter.AssignSelectedProjectList(projectIds);
        }