コード例 #1
0
        public static bool Exercise_Del(int exerciseID)
        {
            var v = new IES.Resource.Model.Exercise()
            {
                ExerciseID = exerciseID
            };

            return(new ExerciseBLL().Exercise_Del(v));
        }
コード例 #2
0
 public static List <IES.Resource.Model.Exercise> Exercise_Search(IES.Resource.Model.Exercise model, Key key, string keys, string kens, int pageSize, int pageIndex)
 {
     if (!IES.Service.UserService.OC_IsRole(model.OCID))
     {
         return(null);
     }
     model.CreateUserID = IES.Service.UserService.CurrentUser.UserID;
     return(new ExerciseBLL().Exercise_Search(model, key, keys, kens, pageSize, pageIndex));
 }