public ActionResult Index() { if (SessionManager.Current.CurrentParliamentId == 0) { SessionManager.Current.CurrentParliamentId = 1; } LawService lawService = new LawService(); PetitionService petitionService = new PetitionService(); var model = new AdminIndexModel { UnverifiedCustomVotesCount = lawService.GetUnverifiedCustomVotesCount(), UnverifiedLawSectionCustomVoteCount = lawService.GetUnverifiedLawSectionCustomVotesCount(), UnverifiedQuestionsCount = lawService.GetUnverifiedQuestionsCount(), UnverifiedRepresentativeQuestionsCount = lawService.GetUnverifiedRepresentativeQuestionsCount(), UnverifiedPetitionsCount = petitionService.GetUnverifiedPetitionsCount() }; return(View(model)); }