Пример #1
0
        /// <summary>
        /// 逻辑删除修改阶段
        /// </summary>
        public StageStausUpdateResponse DeleteStage(StageStausUpdaterequest request)
        {
            StageStausUpdateResponse response = new StageStausUpdateResponse();

            var PlanId = request.PlanId;

            var result = dal.DeleteStage(PlanId);

            if (result > 0)
            {
                response.Message         = "逻辑删除该阶段成功";
                response.IsRegistSuccess = true;
            }

            else
            {
                response.Message         = "逻辑删除该阶段失败";
                response.IsRegistSuccess = false;
            }

            return(response);
        }
Пример #2
0
 /// <summary>
 /// 逻辑删除修改阶段
 /// </summary>
 public JsonResult DeleteStage(StageStausUpdaterequest request)
 {
     return(Json(bll.DeleteStage(request)));
 }
Пример #3
0
 /// <summary>
 /// 逻辑删除修改阶段
 /// </summary>
 public StageStausUpdateResponse DeleteStage(StageStausUpdaterequest request)
 {
     return(ApiRequestHelp.Post <StageStausUpdaterequest, StageStausUpdateResponse>(request));
 }
Пример #4
0
 /// <summary>
 /// 逻辑删除修改阶段
 /// </summary>
 public StageStausUpdateResponse DeleteStage(StageStausUpdaterequest request)
 {
     return(ProjectBll.Instance.DeleteStage(request));
 }