public void SaveData(AllCardsData Cartas)
        {
            String result = Newtonsoft.Json.JsonConvert.SerializeObject(Cartas);

            using (var file = File.Open(this._FilePath, FileMode.Create, FileAccess.Write))

                using (var strm = new StreamWriter(file))
                {
                    strm.Write(result);
                    strm.Close();
                }
        }
 public void SavedDatainJson_Singleton(AllCardsData cartasGuardar)
 {
     this.LocalJson.SaveData(cartasGuardar);
     Cards = cartasGuardar;
 }