private dynamic GetApplyChanges(dynamic request) { try { ConfigurationManager.ApplyPendingChanges(Request.Query.Restart); return(new ConfigurationCommandResponse { Result = true }); } catch (Exception e) { return(new ConfigurationCommandResponse { Result = false, Error = e }); } }