Exemplo n.º 1
0
        public bool DeleteUserInfoList(List <int> list)
        {
            var userInfoList = CurrentDal.LoadEntities(u => list.Contains(u.ID));

            foreach (var userInfo in userInfoList)
            {
                CurrentDal.DeleteEntities(userInfo);
            }
            return(CurrentDbSession.SaveChanges());
        }