예제 #1
0
        public ActionResult ClearWrong(int bookId, int wrongSubjectId, StudyWrongStatusEnum toStatus)
        {
            StudentWrongBookBll wrongBookBll = new StudentWrongBookBll();
            var res = wrongBookBll.ClearWrongSubject(bookId, wrongSubjectId, toStatus);

            return(SimpleResult(res));
        }
        public void TestClearWrong()
        {
            int bookId    = 10000;
            int subjectId = 10016;

            //for (int i = 0; i < 16; i++)
            //{
            //    var tmp = subjectId + i;

            //}
            bll.ClearWrongSubject(bookId, subjectId, StudyWrongStatusEnum.已做对);
        }