예제 #1
0
        public JsonResult Delete(Guid Id)
        {
            JsonResult result = new JsonResult();

            result.Data = dalSY.Delete(Id);
            return(result);
        }
예제 #2
0
 /// <summary>
 /// BLL层重写Delete方法(示例)
 /// 默认可以调用base的Delete方法
 /// 单个删除
 /// </summary>
 /// <param name="entity">提交数据实体</param>
 /// <returns>返回消息对象</returns>
 public override OperateStatus Delete(Guid id)
 {
     return(Dal.Delete(id));
 }