public IActionResult GetEntitySubtypes(string name)
        {
            try
            {
                var stopwatch = StopwatchLogger.Start(_log);
                _log.Info("Called MetadataController GetEntitySubtypes");
                var result = _iMetadataManager.GetSubTypes(name);

                stopwatch.StopAndLog("GetEntitySubtypes of MetadataController");
                return(_iJsonMessage.IgnoreNullableObject(result));
            }
            catch (Exception ex)
            {
                _log.Error(ExceptionFormatter.SerializeToString(ex));
                return(StatusCode((int)HttpStatusCode.InternalServerError, ApiConstant.CustomErrorMessage));
            }
        }