Пример #1
0
        public StudentViewModel()
        {
#if __ANDROID__
            _client = new Droid.LULUService.StudentServiceEndpoint();
#elif __IOS__
            _client = new iOS.LULUService.StudentServiceEndpoint();
#endif
        }
Пример #2
0
        public ClassViewModel()
        {
#if __ANDROID__
            _client          = new Droid.LULUService.ClassServiceEndpoint();
            _classroomClient = new Droid.LULUService.ClassRoomServiceEndpoint();
            _studentClient   = new Droid.LULUService.StudentServiceEndpoint();
#elif __IOS__
            _client          = new iOS.LULUService.ClassServiceEndpoint();
            _classroomClient = new iOS.LULUService.ClassRoomServiceEndpoint();
            _studentClient   = new iOS.LULUService.StudentServiceEndpoint();
#endif
        }