public ActionResult Delete(int id) { db.DeleteCliente(id); return(RedirectToAction("List")); }
public Task <bool> DeleteCliente(int idCliente) { return(_clienteRepositorio.DeleteCliente(idCliente)); }