Created
December 16, 2023 14:15
-
-
Save bjoerntx/e94f7d0afcc93ba323ce4f1960db37b2 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
public IActionResult Index() | |
{ | |
string json = System.IO.File.ReadAllText("App_Data/data.json"); | |
ViewBag.Data = json; | |
return View(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment