Exemplo n.º 1
0
        public List <User> GetAll()
        {
            List <User> alluserdata = CRUD.GetAll();

            foreach (User obj in alluserdata.ToList())
            {
                if (obj.Active == 0)
                {
                    alluserdata.Remove(obj);
                }
            }

            return(alluserdata);
        }
Exemplo n.º 2
0
        public List <UserDTO> GetAllUsers()
        {
            UserCRUD user = new UserCRUD();

            return(user.GetAll());
        }