public ActionResult Index() { int accountCreatedCount = _accountQueries.GetCountOfCreatedInLastDays(); int accountUpdatedCount = _accountQueries.GetCountOfUpdatedInLastDays(); int contactCreatedCount = _contactQueries.GetAllCreatedInLastDays().Count; int contactUpdatedCount = _contactQueries.GetAllUpdatedInLastDays().Count; var viewModel = _mapperForHome.MapToHomeViewModel(accountCreatedCount, accountUpdatedCount, contactCreatedCount, contactUpdatedCount); return(View(viewModel)); }