public async Task <string> GetFunction(string sourceName, int id)
        {
            string            result    = "";
            ConnectParameters connector = await Common.GetConnectParameters(azureConnectionString, sourceName);

            RuleFunctions function = await _functionData.GetFunctionFromSP(id, connector.ConnectionString);

            result = JsonConvert.SerializeObject(function, Formatting.Indented);
            return(result);
        }