[Route("{unit}/{begindate}")] public string Get(string unit, string begindate) { string _unit = unit; string _begindate = String.Format("{0}01", PlatypusWebReportsConstsAndUtils.HyphenizeYYYYMM(begindate)); string appDataFolder = HttpContext.Current.Server.MapPath("~/App_Data/"); // semi-hardcoded file name for now string jsonFilename = string.Format("PoisonToe_{0}_{1}.json", _unit, _begindate); string fullPath = Path.Combine(appDataFolder, jsonFilename); JObject platypusComplianceJson = JObject.Parse(File.ReadAllText(fullPath)); . . .
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)