Created
March 15, 2024 15:35
-
-
Save bjoerntx/ac0bf960ab696b9d0072e2df5a1a452d 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
[HttpGet] | |
[Route("GetJsonData")] | |
public MailMergeData GetJsonData() | |
{ | |
var mailMergeData = new MailMergeData(); | |
string json = System.IO.File.ReadAllText("App_Data/data.json"); | |
mailMergeData.Json = json; | |
return mailMergeData; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment