public async Task <IActionResult> Index() { var years = _documents.GetYears(); var model = new DocumentIndexModel { DocumentsCount = await _documents.DocumentsCount(), CertificatesCount = await _documents.CertificatesCount(), FailureNotificationsCount = await _documents.FailureNotificationsCount(), Years = years }; return(View(model)); }