public object GetFooterData(string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>();
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetFooterData", param, secureToken, userName));
        }
        public object OnlineCompoSearchFilters(string secureToken, string userName)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();
            APIToken token     = new APIToken(_memoryCache);
            object   objResult = token.WebClientInvokerPOST("CbuilderApis/GetComponentCatAndTypes", dict, secureToken, userName);

            return(objResult);
        }
        public object GetCompTemplateTags(string componentName, string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "ComponentName", componentName }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetCompTemplateTags", param, secureToken, userName));
        }
        public object GetOnlineTheme(int themeID, string userName, string secureToken, string version)
        {
            Dictionary <string, object> param = new Dictionary <string, object>();

            param.Add("themeID", themeID);
            param.Add("cbuilderVersion", version);
            param.Add("userName", userName);
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/InstallThemeFile", param, secureToken, userName));
        }
        public object PaymentSuccessful(string url, string secureToken, string userName, string tranitToken, string version)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "Url", url },
                { "Tranittoken", tranitToken },
                { "UserName", userName }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/PaymentSuccessful", param, secureToken, userName));
        }
        public object GetOnlineHelp(int offset, int limit, string searchText, string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "Offset", offset },
                { "Limit", limit },
                { "SearchText", searchText }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetOnlineWebHelp", param, secureToken, userName));
        }
        public object ReviewFromClient(ReviewEntity review, string url, string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "UserName", review.UserName },
                { "Password", review.Password },
                { "Review", review.Review },
                { "Url", url }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/ReviewFromClient", param, secureToken, userName));
        }
        public object GetComponentTemplate(string componentName, int offset, int limit, string searchText, string tagIDs, string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "Offset", offset },
                { "Limit", limit },
                { "ComponentName", componentName },
                { "SearchText", searchText },
                { "TagIDs", tagIDs }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetComponentTemplate", param, secureToken, userName));
        }
        public object InstallComponent(int componentID, string downloadType, decimal version, string userName, string secureToken, string systemversion)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "ComponentID", componentID },
                { "DownloadType", downloadType },
                { "Version", version },
                { "CbuilderVersion", systemversion },
                { "UserName", userName }
            };
            APIToken token  = new APIToken(_memoryCache);
            object   result = token.WebClientInvokerPOST("CbuilderApis/InstallComponent", param, secureToken, userName);

            return(result);
        }
        public object GetInstalledComponents(int offset, int limit, string searchText, string type, string category, string applicationName, string secureToken, string userName, string version)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "Offset", offset },
                { "Limit", limit },
                { "SearchText", searchText },
                { "Version", version },
                { "Type", type },
                { "Category", category },
                { "ApplicationName", applicationName }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetInstalledComponents", param, secureToken, userName));
        }
        public object GetInstalledSites(int offset, int limit, string themeName, int sectorID, int siteCategoryID, int businessTypeID, string applicationName, string authToken, string userName, string version)
        {
            Dictionary <string, object> args = new Dictionary <string, object>
            {
                { "Offset", offset },
                { "Limit", limit },
                { "ThemeName", themeName },
                { "SectorID", sectorID },
                { "SiteCategoryID", siteCategoryID },
                { "BusinessTypeID", businessTypeID },
                { "Version", version },
                { "ApplicationName", applicationName }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetInstalledSites", args, authToken, userName));
        }
        public object FeedBackFromClient(FeedbackDetails feedBack, string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "Category", feedBack.Category },
                { "Description", feedBack.Description },
                { "Domain", feedBack.Domain },
                { "EmailID", feedBack.EmailID },
                { "Keyword", feedBack.Keyword },
                { "Name", feedBack.Name },
                { "Rating", feedBack.Rating },
                { "Title", feedBack.Title },
                { "UserName", feedBack.Username }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/FeedBackFromClient", param, secureToken, userName).ToString());
        }
        public object GetRowOnlineComponents(int offset, int limit, string searchText, string type, string category, string applicationName, string secureToken, string userName, string version)
        {
            SettingHelper sfConfig                    = new SettingHelper();
            string        onlineStorePath             = sfConfig.GetSettingValueByIndividualKey(SettingKeys.OnlineStore).Result;
            Dictionary <string, object> objCollection = new Dictionary <string, object>
            {
                { "Offset", offset },
                { "Limit", limit },
                { "SearchText", searchText },
                { "Version", version },
                { "Type", type },
                { "Category", category },
                { "ApplicationName", applicationName }
            };
            APIToken objToken  = new APIToken(_memoryCache);
            object   objResult = objToken.WebClientInvokerPOST("CbuilderApis/GetRowOnlineComponents", objCollection, secureToken, userName);

            return(objResult);
        }
        public object GetUpgradeData(string userName, string secureToken)
        {
            APIToken apiToken = new APIToken(_memoryCache);

            return(apiToken.WebClientInvokerPOST("CbuilderApis/GetUpgradeData", new Dictionary <string, object>(), secureToken, userName));
        }