예제 #1
0
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="oid">主键</param>
        /// <returns></returns>
        public int Delete(Guid oid)
        {
            ActionInfo entity = new ActionInfo();

            entity.ActionGuid = oid;
            return(entity.Delete());
        }
예제 #2
0
 public AjaxResult Delete(ActionInfo entity)
 {
     entity.Delete();
     return(new AjaxResult(ResultStatus.OK)
     {
         Status = ResultStatus.OK
     });
 }