Beispiel #1
0
        // Main function ended

        //static functions definitions
        private static void GetAllUsers()
        {
            List <IUserDTO> usersDTO = new List <IUserDTO>();

            usersDTO = userBDC.GetAllUsers();
            PrintJSONifiedUsersDTO(usersDTO);
        }
        public OperationResult <IList <IUserDTO> > GetAllUsers()
        {
            IUserBDC userBDC = (IUserBDC)BDCFactory.Instance.Create(BDCType.UserBDC);

            return(userBDC.GetAllUsers());
            //throw new NotImplementedException();
        }