Ejemplo n.º 1
0
        public void TestMethod_MoveUnit()
        {
            LessonUnitBll bll  = new LessonUnitBll();
            var           unit = bll.SelectUnit(10000, 1);

            bll.MoveUnit(10000, 5);
        }
Ejemplo n.º 2
0
        public JsonResult MovePage(int unitid, int index)
        {
            LessonUnitBll bll = new LessonUnitBll();

            bll.MoveUnit(unitid, index);
            return(Json(new JsonResponse <string> {
                State = true, ErrorCode = 0, ErrorMsg = "", Data = ""
            }));
        }