Exemplo n.º 1
0
        public async Task InputEventLog()
        {
            if (await Request.AuthenticationCheck())
            {
                SysEventLogModel elog = await Request.DeserializeBody <SysEventLogModel>();

                await sql.InsertRecord(elog, "SysEventLog");
            }
        }
Exemplo n.º 2
0
 public static async Task LogSystemEventInfo(this SysEventLogModel m)
 {
     await client.PostAsync("Log/InputEventLog", m.SERIALIZE_CONTENT());
 }