public ActionResult Premium(string t) { var xml = PagSeguro.GetXmlTransacao(t); if (xml != null) { Pagamento p = Pagamento.AtualizarPagamento(xml); return(View(p)); } else { return(Redirect("/inicio/buscar/")); } }
public ActionResult Xml(string id) { return(this.Content(PagSeguro.GetXmlTransacao(id).InnerXml, "text/xml")); }