ICourseworkServices.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Bowin.Common.Linq.Entity;
  6. using EMISOnline.ViewModel.ExamView;
  7. using EMISOnline.Entities;
  8. using EMISOnline.ViewModel.Coursework;
  9. namespace EMISOnline.CommonLogic.CourseworkServices
  10. {
  11. public interface ICourseworkServices
  12. {
  13. IGridResultSet<CourseworkAddView> GetCourseworkList(string testname, int page, int rows);
  14. bool ExamSettingSave(CourseworkAddView view, string LoginID);
  15. CourseworkAddView getCourseWork(decimal workid);
  16. test_paper getPaper(decimal testid);
  17. List<decimal> PaperBuilder(decimal workid, decimal paper_id);
  18. bool UpdatePaperID(decimal test_id, string userid, decimal newPaperid);
  19. bool TakePaper(decimal test_id, string userid, Dictionary<string, string> answers);
  20. string ShowPaperQuestion(decimal workid, decimal paper_id);
  21. CourseworkResult GetCourseWorkResult(decimal ResultID);
  22. IGridResultSet<CourseworkReviewView> GetReviewList(string testname, decimal workid,int pageIndex, int pageSize);
  23. }
  24. }