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