- Timestamp:
- 04/16/13 08:57:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Optimization.Web/Controllers/JobController.cs
r9324 r9362 57 57 return Content(AlgorithmConverter.ConvertRunsToJson(runs).ToString(), "application/json", System.Text.Encoding.UTF8); 58 58 } 59 60 [HttpGet] 61 public ActionResult VisualExtension(string algorithmId) { 62 var script = ControllerService.withControllerService<string>((service) => { 63 User u = new User() { Username = Membership.GetUser().UserName, Password = Session["pw"] as string }; 64 return service.GetVisualExtension(algorithmId); 65 }); 66 return Content(script, "text/javascript", System.Text.Encoding.UTF8); 67 } 59 68 } 60 69 }
Note: See TracChangeset
for help on using the changeset viewer.