public void getIntegration(int id)
        {
            string resp = "";

            try
            {
                connectModel();
                IntegrationTool.Models.Integration integration = integrationConfigurationModel.getIntegration(id);

                resp = serializeObject(integration);
            }
            catch (Exception)
            {
                resp = "{\"type\":\"danger\", \"message\":\"Can not be loaded the integration selected. Please try again.\"}";
            }

            response(resp);
        }
        public Integration getIntegration(int id)
        {
            Integration integration = integrationDB.Integrations.Where(param => param.IntegrationId == id).ToList()[0];

            return(integration);
        }