Пример #1
0
        /// <summary>
        /// 根据id删除作业
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public JsonResult Delete(int id)
        {
            var model = DataBaseLogic.GetJobQuartzByIdList(id);

            StdSchedulerManager.RemoveJob(model);
            return(Json(DataBaseLogic.Delete(id)));
        }