Beispiel #1
0
        // GET: Monitor
        public Object Get()
        {
            var   body  = Request.Body;
            Token token = new Token();

            if (token.IdMonitor != 0)
            {
                return(monitorService.GetMonitor((int)token.IdMonitor));
            }
            else
            {
                return(null);
            }
        }
 // GET: Monitor
 public Object Get(int id)
 {
     return(monitorService.GetMonitor(id));
 }