Created
January 7, 2021 21:48
-
-
Save bjoerntx/d27df0f2f893674b049dade58bf4e98c 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() { | |
// load the merge data from JSON text file | |
List<Report> journal = JsonConvert.DeserializeObject<List<Report>>( | |
System.IO.File.ReadAllText("App_Data/data.json")); | |
return View(journal); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment