예제 #1
0
        /// <summary>
        /// 更新用户做题结果
        /// </summary>
        /// <param name="model">主表信息</param>
        /// <param name="qid">题目编号</param>
        /// <param name="answer">做题答案</param>
        /// <returns></returns>
        public OperateResultModel UpdateTestSelect(tbl_test_records model, int qid, string answer)
        {
            TblTestRecordsDal dal = new TblTestRecordsDal();

            return(dal.Update(model, qid, answer));
        }
예제 #2
0
        /// <summary>
        /// 更新练习记录
        /// </summary>
        /// <param name="model">实体</param>
        /// <returns></returns>
        public OperateResultModel UpdateTestRecord(tbl_test_records model)
        {
            TblTestRecordsDal dal = new TblTestRecordsDal();

            return(dal.Update(model));
        }