예제 #1
0
 public bool DeleteListByLogical(List <int> ids)
 {
     try
     {
         CurrentDal.DeleteListByLogical(ids);
         return(DbSession.SaveChanges() > 0);
     }
     catch (Exception e)
     {
         return(false);
     }
 }
예제 #2
0
 public int DeleteListByLogical(List <int> ids)
 {
     CurrentDal.DeleteListByLogical(ids);
     return(DbSession.SaveChanges());
 }