Example #1
0
        public void ProcessRequest(HttpContext context)
        {
            var on_offs = LogOnOffManager.GetALLLogOnOff();

            context.Response.ContentType = "text/plain";
            context.Response.Write(Newtonsoft.Json.JsonConvert.SerializeObject(on_offs));
        }
Example #2
0
        public dynamic GetLogOnOffs()
        {
            var on_offs = LogOnOffManager.GetALLLogOnOff();

            return(Newtonsoft.Json.JsonConvert.SerializeObject(on_offs));
        }