public async Task InputQueryLog() { if (await Request.AuthenticationCheck()) { XEventModel xmodel = await Request.DeserializeBody <XEventModel>(); await sql.InsertRecord(xmodel, "QueryLog"); } }
public static async Task LogQueries(this XEventModel xm) { await client.PostAsync("Log/InputQueryLog", xm.SERIALIZE_CONTENT()); }