Beispiel #1
0
  public bool Delete(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerActionClass entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser)
         {
             var res = false;
             if (entity != null )
             {
                 try
                 {
 				    entity.State = false;
                     mvcControllerActionClassRepository.Modify(entity);
                     res = true;
                 }
                 catch (Exception ex)
                 {
                 }
             }
             return res;
         }
Beispiel #2
0
        public bool Delete(Data.DataSys.Sys_MvcControllerActionClass entity, Data.DataSys.Sys_AdminUser operUser)
        {
            var res = false;

            if (entity != null && entity.Id > 0)
            {
                try
                {
                    entity.State = false;
                    mvcControllerActionClassRepository.Modify(entity);
                    res = true;
                }
                catch (Exception ex)
                {
                }
            }
            return(res);
        }
Beispiel #3
0
 public void Modify(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerActionClass mvcControllerActionClass)
 {
     mvcControllerActionClassRepository.Modify(mvcControllerActionClass);
     mvcControllerActionClassRepository.Uow.Commit();
 }