public Dictionary <string, ControllerDetail> ViewLoadAPIPublished(string pageName, string[] urlParams) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); List <ControllerDetail> objControllersList = objDataProvider.GetAPIListPublished(pageName); return(ResultInvoke(objControllersList, urlParams)); }
//without loading the dll //public object InvokeMethod(ControllerDetail objControll) //{ // Type type = Type.GetType(objControll.Namespaces + "." + objControll.ClassNames); // object instance = Activator.CreateInstance(type, null); // MethodInfo method = type.GetMethod(objControll.MethodNames); // //return method.Invoke(instance, objControll.Args); // return method.Invoke(instance, objControll.Args); //} public Dictionary <string, ControllerDetail> EditLoadAPI(string pageName, string[] urlParams) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); List <ControllerDetail> objControllersList = objDataProvider.GetAPIList(pageName); urlParams = urlParams.Skip(1).ToArray(); return(ResultInvoke(objControllersList, urlParams)); }
public int UpdateComponentValue(string componentName, string componentValue, int userModuleID, decimal version, long UniversalComponentID, string type) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.UpdateComponentValue(componentName, componentValue, userModuleID, version, UniversalComponentID, type)); }
public List <BuilderComponentJson> GetComponentValue(string userModuleID) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.GetComponentValue(userModuleID)); }
public List <WebBuilderPages> GetPageList(int portalID) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.GetPageList(portalID)); }
public WebBuilderInfo GetPublishedViewDOMByID(WebBuilderInfo obj) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.GetPublishedViewDOMByID(obj)); }
public WebbuilderSite ExtractSite(int userModuleID, string culture, string hostURL) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.ExtractSite(userModuleID, culture, hostURL)); }
public void UpdatePageName(string pageName, int portalID, int userModuleID, int webbuilderID, string culture) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); objDataProvider.UpdatePageName(pageName, portalID, userModuleID, webbuilderID, culture); }
public List <EasyPackage> ExtractPackageData(List <EasyPackage> objPackage) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.ExtractPackageData(objPackage)); }
public int UpdateSettings(WebBuilderInfo obj) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.UpdateSettings(obj)); }
public KeyValue GetInstalledComponentList() { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.GetInstalledComponentList()); }
public int AddUpdate(WebBuilderInfo obj) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.AddUpdate(obj)); }
public List <Contact> GetContactUsData(int offset, int limit, string name, string email) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.GetContactUsData(offset, limit, name, email)); }
public int SaveContactUsData(Contact objContactUs, string userName) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.SaveContactUsData(objContactUs, userName)); }
public List <BuilderComponentJson> ComponentOfflineList() { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.ComponentOfflineList()); }
public int CheckPage(int portalID, string pageseoName, int pageID) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.CheckPage(portalID, pageseoName, pageID)); }
public DataSet GenerateInsertScript(string applicationName) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.GenerateInsertScript(applicationName)); }
public void DeletePage(int portalID, int userModuleID, int pageID) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); objDataProvider.DeletePage(portalID, userModuleID, pageID); }
public int AddUpdatePublished(int webBuilderID) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.AddUpdatePublished(webBuilderID)); }
public DataSet GenerateInsertScriptForPages(string pageNames) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); return(objDataProvider.GenerateInsertScriptForPages(pageNames)); }
public void CreateSite(WebbuilderSite objWebsite) { WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider(); objDataProvider.CreateSite(objWebsite); }