// GET api/<controller>/5 public string Get(int id) { OREManager myORE = new OREManager(); myORE.LoadExposures(); return(myORE.GetExposureResults()); }
// GET api/<controller>/5 public string Get(int id) { OREManager myORE = new OREManager(); myORE.LoadNPV(); return(myORE.GetResults()); }
public JsonResult RunORE(string tradeSpecification) { OREManager myORE = new OREManager(); // call ORE to perform the calculation bool success = myORE.Run(tradeSpecification); return(Json(success)); }