public Response Get()
        {
            var response = new Response();

            try
            {
                var isEnabled = Settings.Data.IsOracleInstanceManagerEnabled;
                if (isEnabled && Settings.Data.InstanceManager.HasData)
                {
                    Log.Debug("GetAllInstances called.");
                    var instances = _oracleInstanceBl.GetAllInstances();
                    Log.Debug("GetAllInstances call success.");
                    response.Data = instances;
                }
                else
                {
                    response.Data = false;
                }

                return(response);
            }
            catch (Exception ex)
            {
                Log.Error(ex.Message);
                response.AddErrorNotification(ex.Message, ex.StackTrace);
                return(response);
            }
        }
        public Response Get()
        {
            var response = new Response();

            try
            {
                var parsed = bool.TryParse(ConfigurationManager.AppSettings["IsOracleInstanceManagerEnabled"], out var isEnabled);
                if (parsed && isEnabled)
                {
                    Log.Debug("GetAllInstances called.");
                    var instances = OracleInstanceBl.GetAllInstances();
                    Log.Debug("GetAllInstances call success.");
                    response.Data = instances;
                }
                else
                {
                    response.Data = false;
                }

                return(response);
            }
            catch (Exception ex)
            {
                Log.Error(ex.Message);
                response.AddErrorNotification(ex.Message, ex.StackTrace);
                return(response);
            }
        }