/// <summary>
        /// Assigns the task report.
        /// </summary>
        /// <param name="reportPresenter">The report presenter.</param>
        private void AssignTaskReport(ReportPresenter reportPresenter)
        {
            AssignSelectedStatus(reportPresenter);
            AssignSelectedTeamDevelopersIds(reportPresenter);
            AssignSelectedProjectIds(reportPresenter);
            var createdByIds = reportPresenter.ReportFilter.SelectedDeveloperId == null || reportPresenter.ReportFilter.SelectedDeveloperId == Zero ? null : Convert.ToString(reportPresenter.ReportFilter.SelectedDeveloperId, CultureInfo.InvariantCulture);
            var selectedPriority = reportPresenter.ReportFilter.SelectedPriority == Zero ? null : reportPresenter.ReportFilter.SelectedPriority;
            var taskReport = this.reportService.RetrieveTaskReport(reportPresenter.ReportFilter.DueDateFrom, reportPresenter.ReportFilter.DueDateTo, reportPresenter.ReportFilter.StartDateFrom, reportPresenter.ReportFilter.StartDateTo, reportPresenter.SelectedStatusIds, selectedPriority, reportPresenter.SelectedTeamMembersIds, reportPresenter.SelectedProjectIds, createdByIds, SessionData.Instance.UserInfo.Developer.DeveloperID);
            taskReport.ForEach(t =>
                {
                    var priority = reportPresenter.PriorityList.FirstOrDefault(p => p.ID.Equals(t.Priority));
                    if (priority != null)
                    {
                        t.PriorityName = priority.Name;
                    }

                    var status = reportPresenter.TaskStatusFilterList.FirstOrDefault(s => s.ID.Equals(t.Status));
                    if (status != null)
                    {
                        t.StatusName = status.Name;
                    }
                });

            reportPresenter.AssignTaskReport(taskReport);
        }