Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active July 5, 2016 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/25e590f8fb13be1cb6318e565031790d to your computer and use it in GitHub Desktop.
Save bjoerntx/25e590f8fb13be1cb6318e565031790d to your computer and use it in GitHub Desktop.
using System.Collections.Generic;
using System.Web.Mvc;
using TXTextControl.ReportingCloud;
namespace ReportingCloudTutorial.Controllers
{
public class HomeController : Controller
{
// GET: Home
public ActionResult Index()
{
ReportingCloud rc = new ReportingCloud(
"username",
"password",
new System.Uri("https://api.reporting.cloud"));
List<Template> templates = rc.ListTemplates();
return View(templates);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment