示例#1
0
        public bool DeleteTrue(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerAction entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser)
        {
            var res = false;

            if (entity != null)
            {
                try
                {
                    actionRepository.Delete(entity);
                    actionRepository.Uow.Commit();
                    res = true;
                }
                catch (Exception ex)
                {
                }
            }
            return(res);
        }
示例#2
0
 public void Delete(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerAction action)
 {
     actionRepository.Delete(action);
     actionRepository.Uow.Commit();
 }