Example #1
0
        public ActionResult <dasStatusStructure> Get()
        {
            var service = new SmartDASService();

            service.Connect();
            try {
                var dasStatus = service.getDASStatus();
                service.Disconnect();
                return(dasStatus);
            } catch (Exception e) {
                return(StatusCode(500, e));
            }
        }