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); }
public void Delete(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerAction action) { actionRepository.Delete(action); actionRepository.Uow.Commit(); }