Esempio n. 1
0
        public PlaylistRepository(ILocalStorageService localStorageService)
        {
            this.localStorageService = localStorageService;

            userSettings = localStorageService.Retrieve<UserSettings>();

            if (userSettings == null)
            {
                userSettings = new UserSettings();
                SaveChanges();
            }
        }