Ejemplo n.º 1
0
        public async Task <HealerGear> GetHealerGear(string ID)
        {
            DocumentReference df = Guild_Healer_Gear.Document(ID);
            DocumentSnapshot  ds = await df.GetSnapshotAsync();

            HealerGear TempObj = null;

            if (ds.Exists)
            {
                TempObj = ds.ConvertTo <HealerGear>();
            }

            return(TempObj);
        }
Ejemplo n.º 2
0
 public async Task UpdateHealerGear(HealerGear d)
 {
     await Guild_Healer_Gear.Document(d.ign).SetAsync(d);
 }