Untitled
unknown
plain_text
a year ago
541 B
13
Indexable
//Delete function try { var getschoolkey = (await client .Child($"StudentAccount/{key}/Schools") .OnceAsync<Schools>()).FirstOrDefault (a => a.Object.SchoolID == schid); if (getschoolkey != null) { await client .Child($"StudentAccount/{key}/Schools") .Child(getschoolkey.Key) .DeleteAsync(); client.Dispose(); return true; } client.Dispose(); return false; } catch { client.Dispose(); return false; }
Editor is loading...
Leave a Comment