public async Task <IActionResult> Delete(int id) { await _consultaService.RemoveAsync(id); return(RedirectToAction(nameof(Index))); }