public IActionResult Delete(int id)
        {
            var param = new Cliente()
            {
                Id = id
            };

            if (_clienteBusiness.DeleteCliente(param) > 0)
            {
                return(RedirectToAction("Index"));
            }
            return(View());
        }
 public void Delete(int id) => _clienteBusiness.DeleteCliente(new Cliente {
     Id = id
 });