Created
July 6, 2018 00:39
-
-
Save dcomartin/0e9d052cd603d62489e1f814019a2a11 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 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