/// <summary> /// Assigns the role group allocation drill down. /// </summary> /// <param name="menuItem">The menu item.</param> /// <param name="reportPresenter">The report presenter.</param> private void AssignRoleGroupAllocationDrillDown(string menuItem, ReportPresenter reportPresenter) { int? projectId = null; if (menuItem.Equals(ReportOption.RoleWiseAllocation.ToString())) { projectId = reportPresenter.ReportFilter.SelectedProject; } reportPresenter.AssignTeamMemberAllocation(this.reportService.RetrieveDashboardRoleGroupAllocationDrillDown(reportPresenter.ReportFilter.DateFrom, reportPresenter.ReportFilter.DateTo, SessionData.Instance.UserInfo.Developer.DeveloperID, projectId)); }