/// <summary> /// 删除 /// </summary> /// <param name="oid">主键</param> /// <returns></returns> public int Delete(Guid oid) { ActionInfo entity = new ActionInfo(); entity.ActionGuid = oid; return(entity.Delete()); }
public AjaxResult Delete(ActionInfo entity) { entity.Delete(); return(new AjaxResult(ResultStatus.OK) { Status = ResultStatus.OK }); }