コード例 #1
0
        public static List <AnalysisResultDTO> RerunAnalysis(int analysisInputID, Int32 areaID)
        {
            String text = InputDAC.GetInputMessage(analysisInputID).TextInput;

            InputDAC.DeleteWordHeaders(analysisInputID);
            AnalysisDAC.StoreWordHeaders(text, analysisInputID);             // This section could be taken out in time
            return(GetAnalysisResults(analysisInputID, areaID, text));
        }
コード例 #2
0
 public ActionResult Details(Int32 id)
 {
     //ResultDAC.UpdateReadStatus(id, true);
     return(View(new InputDetailsModel()
     {
         InputMetaDataList = InputDAC.GetMetaDataList(id),
         InputMessage = InputDAC.GetInputMessage(id),
     }));
 }
コード例 #3
0
        public ActionResult Details(Int32 id)
        {
            ResultDAC.UpdateReadStatus(id, true);
            AnalysisResultDTO result = ResultDAC.GetResult(id);

            return(View(new InputDetailsModel()
            {
                InputMetaDataList = InputDAC.GetMetaDataList(result.AnalysisInputID),
                InputMessage = InputDAC.GetInputMessage(result.AnalysisInputID),
                AnalysisResult = result
            }));
        }