public async Task <IActionResult> DeleteConfirmed(long?id) { var contato = await contatoDAL.EliminarContatoPorId((long)id); return(RedirectToAction(nameof(Index))); }
public async Task <IActionResult> DeleteConfirmed(long?id) { var contato = await contatoDAL.EliminarContatoPorId((long)id); return(RedirectToAction(nameof(Index))); }