public IHttpActionResult GetAllComputers() { try { var commands = _monitorService.GetAllComputers(); return(Ok(commands)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }