Example #1
0
        public CurrentQuizViewModel()
        {
            Login          = new LoginViewModel();
            lobbyViewModel = new LobbyViewModel();

            //LobbyReference
            Lobby = new LobbyReference.Lobby();
        }
Example #2
0
        public LobbyViewModel()
        {
            //LobbyReferences
            lobbyUser = new LobbyReference.User();
            category  = new LobbyReference.Category();
            lobby     = new LobbyReference.Lobby();
            lobbies   = new List <LobbyReference.Lobby>();

            //CategoryReference
            quizCategory = new CategoryReference.Category();

            //UserReference
            users = new List <UserReference.User>();
            user  = new UserReference.User();

            //QuizReferences
            userQuestion = new QuizReference.UserQuestion();
            qUser        = new QuizReference.User();
            qLobby       = new QuizReference.Lobby();
            qQuestion    = new QuizReference.Question();
            qCategory    = new QuizReference.Category();
        }