Пример #1
0
        public async Task <string> GetFunctions(string sourceName)
        {
            string            result    = "";
            ConnectParameters connector = await Common.GetConnectParameters(azureConnectionString, sourceName);

            IEnumerable <RuleFunctions> functions = await _functionData.GetFunctionsFromSP(connector.ConnectionString);

            if (functions.Any())
            {
                result = JsonConvert.SerializeObject(functions, Formatting.Indented);
            }
            return(result);
        }