public JsonResult PesquisarCliente(string query) { try { return(Json(serviceCliente.Pesquisar(query))); } catch (Exception ex) { return(Json(new { Erro = ex.Message + " " + ex.InnerException })); } }