/// <summary>
        /// Assigns the tab data.
        /// </summary>
        /// <param name="project">The project.</param>
        /// <param name="tabId">The tab identifier.</param>
        /// <param name="presenter">The presenter.</param>
        /// <param name="projectPortalId">The project portal identifier.</param>
        /// <param name="requiredAllocationsPerWeek">The required allocations per week.</param>
        /// <param name="releaseTypeIds">The release type ids.</param>
        /// <param name="releaseStatusIds">The release status ids.</param>
        /// <param name="historyTypeIds">The history type ids.</param>
        /// <param name="fromDate">From date.</param>
        /// <param name="toDate">To date.</param>
        private void AssignTabData(Project project, string tabId, ProjectDashboardPresenter presenter, int projectPortalId, string requiredAllocationsPerWeek, string releaseTypeIds, string releaseStatusIds, string historyTypeIds, string fromDate, string toDate)
        {
            if (!string.IsNullOrEmpty(tabId))
            {
                presenter.SelectedProjectPortalTab = tabId;

                if (tabId == ProjectViewType.Compliance.ToString())
                {
                    this.AssignComplianceDetail(presenter, projectPortalId, releaseTypeIds, releaseStatusIds);
                }
                else if (tabId == ProjectViewType.Sprint.ToString())
                {
                    this.AssignProjectPortalSprint(presenter, projectPortalId);
                }
                else if (tabId == ProjectViewType.Health.ToString())
                {
                    this.AssignProjectPortalHealth(presenter, projectPortalId);
                }
                else if (tabId == ProjectViewType.Team.ToString())
                {
                    presenter.AssignProjectPortalTeam(this.RetriveCommonDevelopers(presenter, projectPortalId));
                }
                else if (tabId == ProjectViewType.Reports.ToString() && !string.IsNullOrEmpty(presenter.SelectedMenuItem))
                {
                    if (presenter.SelectedMenuItem.Equals(ReportOption.ProjectHoursAnalysis.ToString()))
                    {
                        this.RetrieveProjectReportData(project, presenter, projectPortalId);
                    }
                    else if (presenter.SelectedMenuItem.Equals(ReportOption.ProjectTeamMemberAllocation.ToString()))
                    {
                        this.ProjectTeamMemberAllocationReport(presenter);
                    }
                    else if (presenter.SelectedMenuItem.Equals(ReportOption.WeeklyProjectHourBurndown.ToString()))
                    {
                        this.WeeklyProjectHourBurnDownReport(presenter);
                    }
                    else if (presenter.SelectedMenuItem.Equals(ReportOption.ProjectHourBreakdown.ToString()))
                    {
                        this.ProjectHourBreakdownReport(presenter);
                    }
                }
                else if (tabId == ProjectViewType.Prediction.ToString())
                {
                    this.AssignProjectPortalPrediction(presenter, projectPortalId, requiredAllocationsPerWeek);
                    this.AssignProjectPortalCurrentPrediction(presenter, projectPortalId);
                }
                else if (tabId == ProjectViewType.History.ToString())
                {
                    this.AssignProjectPortalHistory(presenter, projectPortalId, historyTypeIds, fromDate, toDate);
                }
            }
            else
            {
                this.AssignProjectDashboardDetails(presenter, projectPortalId);
            }
        }