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