Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created July 6, 2018 00:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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