IQuestionSettingServices.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMISOnline.ViewModel.ExamView;
  6. using EMISOnline.Entities;
  7. namespace EMISOnline.CommonLogic.ExamServices
  8. {
  9. public interface IQuestionSettingServices
  10. {
  11. /// 获取试题列表
  12. /// </summary>
  13. object GetQuestionList(string Content, decimal? QuestionType, decimal? libaryid, int maximumRows, int startRowIndex);
  14. object GetQuestionType(bool? isEmpty);
  15. object GetDifficulty();
  16. QuestionSettingView GetQuestion(decimal test_question_Id);
  17. test_question_libary GetQuestionLibary(decimal libary_Id);
  18. /// <summary>
  19. /// 保存试题、保存试题答案
  20. /// </summary>
  21. void InsertByTrans(test_question tq, List<test_question_provid_answer> tqpaList, List<string> rightAnswersList,string userid);
  22. /// <summary>
  23. /// 更新试题、更新试题答案
  24. /// </summary>
  25. void UpdateByTrans(test_question setting, List<test_question_provid_answer> tqpaList, List<string> rightAnswersList, string userid);
  26. }
  27. }