public ParseKeysViewModel(IParseDataService parseDataService)
 {
     _parseDataService = parseDataService;
     var parseConfig = _parseDataService.GetCurrentParseConfig();
     _parseNetKey = parseConfig.DotNetKey;
     _parseAppId = parseConfig.ApplicationId;
 }
        private void RefreshRemoteMappings()
        {
            _mappingsForDownload = new List<Mapping>();
            _remoteMappingService = Mvx.Resolve<IParseDataService>();
            _mappings = new ObservableCollection<Mapping>();

            // ToDo: remove me
            foreach (var dummyMapping in DummyDataGenerator.GetDummyMappings())
            {
                _mappings.Add(dummyMapping);
            }

            FetchRemoteMappings();
        }
Example #3
0
 public StudentService(IStudentRepository repo, IParseDataService parseService)
 {
     this.repo         = repo;
     this.parseService = parseService;
 }