public ActionResult Deletar(int codigoVenda)
        {
            var response = _appVenda.GetVenda(codigoVenda);

            if (response.Status != HttpStatusCode.OK)
            {
                return(Error(response.ContentAsString));
            }
            if (response.Content == null)
            {
                return(Error("Venda não encontrada"));
            }

            var cliente = _appCliente.GetCliente(response.Content.Cliente.CodigoCliente);

            if (cliente.Status != HttpStatusCode.OK)
            {
                return(Error(cliente.ContentAsString));
            }
            if (cliente.Content == null)
            {
                return(Error("Cliente da venda não encontrado"));
            }

            response.Content.Cliente = cliente.Content;

            return(View("DeletaVenda", response.Content));
        }