public IActionResult Atualizar(int clienteId, ClienteViewModel model) { try { model.ClienteId = clienteId; _clienteServices.Atualizar(model); return(Ok()); } catch (Exception ex) { return(StatusCode(500, ex)); } }