public ActionResult Listar(int codigoCliente) { var response = _appVenda.Get(codigoCliente); if (response.Status != HttpStatusCode.OK) { return(Error(response.ContentAsString)); } return(View("GridVendas", response.Content)); }