Exemple #1
0
        public ActionResult EditTaskConfig(TaskConfig taskConfig)
        {
            int rs = PetFeedEventsBll.UpdateTaskConfig(taskConfig);

            //记录日志
            Log(string.Format("编辑[TaskConfig]数据:{0}", taskConfig.ToString()));

            return(EditResult(rs, "操作失败", "TaskConfigList"));
        }
Exemple #2
0
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="taskConfig">要删除的 实际使用TaskConfigId删除</param>
        /// <returns></returns>
        public ActionResult DelTaskConfig(TaskConfig taskConfig)
        {
            int rs = PetFeedEventsBll.DeleteTaskConfig(taskConfig);

            //记录日志
            Log(string.Format("删除[TaskConfig]数据:{0}", taskConfig.ToString()));

            return(DelResult(rs, "TaskConfigList"));
        }
Exemple #3
0
        public ActionResult AddTaskConfig(TaskConfig taskConfig)
        {
            int rs = PetFeedEventsBll.InsertTaskConfig(taskConfig);

            //记录日志
            Log(string.Format("新增TaskConfig 数据:{0}", taskConfig.ToString()));

            return(EditResult(rs, "操作失败", "TaskConfigList"));
        }