Ejemplo n.º 1
0
 protected void GetStringCommandHandler(GetStringCommand cmd)
 {
     cmd.result = _localStorageService.GetString(cmd.key, cmd.userID);
 }
Ejemplo n.º 2
0
        public async Task <Album> GetAlbum(string name)
        {
            string albumJson = await _localStorageService.GetString(AlbumsGroup, name);

            return(await Task.Run(() => JsonConvert.DeserializeObject <Album>(albumJson)));
        }