Example #1
0
 public JsonResult GetSMPASelectedEffectsList(List <string> selectedTreatments)
 {
     if (selectedTreatments != null)
     {
         List <string> selectedEffectsList = SingleMeasuresParametricAnalysisModel.DetermineSelectedEffectsList(selectedTreatments);
         return(Json(selectedEffectsList));
     }
     else
     {
         return(Json(new List <string>()));
     }
 }
Example #2
0
 public JsonResult GetSMPAInteractions(List <string> selectedTreatments)
 {
     if (selectedTreatments != null)
     {
         List <string> interactions = SingleMeasuresParametricAnalysisModel.DetermineInteractions(selectedTreatments);
         return(Json(interactions));
     }
     else
     {
         return(Json(new List <string>()));
     }
 }
 public async Task <IActionResult> SingleMeasuresParametricAnalysis(SingleMeasuresParametricAnalysisModel model, bool ignoreWarnings)
 {
     return(await RunAnalysis(model, ignoreWarnings));
 }
 public SingleMeasuresParametricAnalysisValidator(SingleMeasuresParametricAnalysisModel sm)
     : base(sm.DataTable)
 {
     smVariables = sm;
 }