public bool DeleteTrue(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerActionClass entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser) { var res = false; if (entity != null) { try { mvcControllerActionClassRepository.Delete(entity); mvcControllerActionClassRepository.Uow.Commit(); res = true; } catch (Exception ex) { } } return res; }
public void Delete(Data.DataSys.Sys_MvcControllerActionClass mvcControllerActionClass) { mvcControllerActionClassRepository.Delete(mvcControllerActionClass); mvcControllerActionClassRepository.Uow.Commit(); }