Last active
July 5, 2016 12:33
-
-
Save bjoerntx/25e590f8fb13be1cb6318e565031790d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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