示例#1
0
 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;
 }
示例#2
0
 public void Delete(Data.DataSys.Sys_MvcControllerActionClass mvcControllerActionClass)
 {
     mvcControllerActionClassRepository.Delete(mvcControllerActionClass);
     mvcControllerActionClassRepository.Uow.Commit();
 }