public HttpResponseMessage GetEntityConfiguration(string nameSpace, string typeName)
        {
            Log.Trace($"Getting Global Entity Configuration {nameSpace} :: {typeName}");

            var array = new JArray();

            foreach (var item in _globalRepository.GetAllOfType(nameSpace, typeName).Values)
            {
                var obj = JObject.Parse(item);
                array.Add(obj);
            }

            return(new HttpResponseMessage(HttpStatusCode.OK)
            {
                Content = new StringContent(array.ToString(), Encoding.UTF8, "application/json")
            });
        }