public int DeleteListLogical(List <int> ids) { foreach (var id in ids) { CurrentDal.DeleteLogical(id); } return(DbSession.SaveChanges()); }
// Soft/logical delete public bool DeleteLogical(int id) { CurrentDal.DeleteLogical(id); return(DbSession.SaveChanges() > 0); }