Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created July 6, 2018 00:39
Show Gist options
  • Save dcomartin/0e9d052cd603d62489e1f814019a2a11 to your computer and use it in GitHub Desktop.
Save dcomartin/0e9d052cd603d62489e1f814019a2a11 to your computer and use it in GitHub Desktop.
using Microsoft.AspNetCore.Mvc;
namespace Web
{
public class DemoController : Controller
{
[Route("/")]
public IActionResult Index()
{
return View("~/MyView.cshtml");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment