public string MarkProgram(string ProgramPath, string cQID, string StuCouHWDe_ID, string questionNum) { //call program marker this.TaskCorrectionService = new TaskCorrection(); return(TaskCorrectionService.CorrectTask(ProgramPath, cQID, StuCouHWDe_ID, questionNum)); /* * string strUpdateSQL = "UPDATE RecordMultiFormItem SET Required='true' WHERE MFID='" + FormID + "'"; * CsDBConnection.InsertDataTable(strUpdateSQL); * return FormID + DateTime.Now.ToString(); */ }
public string InitStuCouHWDe_prog(string StuCouHWDe_ID, string StuProgramFN) { this.TaskCorrectionService = new TaskCorrection(); TaskCorrectionService.InitStuCouHWDe_prog_record(StuCouHWDe_ID, StuProgramFN); return("Finish create"); /* * string strUpdateSQL = "UPDATE RecordMultiFormItem SET Required='true' WHERE MFID='" + FormID + "'"; * CsDBConnection.InsertDataTable(strUpdateSQL); * return FormID + DateTime.Now.ToString(); */ }
public TaskCorrectionController() { this.TaskCorrectionService = new TaskCorrection(); }