public async Task <IActionResult> CloseConfirmed(int id) { await _repo.Close(await _repo.Get(id)); return(RedirectToAction(nameof(Index))); }