Created
August 10, 2020 13:27
-
-
Save chadmichel/9ce2b23f84e3c36a9296de67d5fff258 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
[Authorize] | |
[ApiController] | |
[Route("[controller]")] | |
public class TestController : Controller | |
{ | |
// GET | |
public JsonResult Index() | |
{ | |
return Json("hi"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment