public List<Templates> GetThemesFolder(Templates objTributeType, string applicationType) { TemplateResource objTheme = new TemplateResource(); return objTheme.GetThemesTemplates(objTributeType.TributeType, applicationType); }
/// <summary> /// Method to update the tribute theme /// </summary> /// <param name="objTheme">Tribute entity containing Tribute Id, Theme Id</param> public void UpdateTributeTheme(Tributes objTheme) { TemplateResource objTemplate = new TemplateResource(); object[] param = { objTheme }; objTemplate.UpdateTributeTheme(param); }
/// <summary> /// Method to get the theme for the tribute /// </summary> /// <param name="objTheme">Template Object</param> /// <returns></returns> public Templates GetThemeForTribute(Tributes objTheme) { TemplateResource objTemplate = new TemplateResource(); object[] param = { objTheme }; return objTemplate.GetThemeForTribute(param); }
/// <summary> /// Method to get the list of themes for a tribute /// </summary> /// <param name="objTributeType">Type of Tribute</param> public List<Templates> GetThemes(Templates objTributeType) { TemplateResource objTheme = new TemplateResource(); return objTheme.GetTemplates(objTributeType.TributeType); }
/// <summary> /// /// </summary> /// <param name="objTheme"></param> /// <returns></returns> public Templates GetExistingFolderName(Tributes objTheme) { TemplateResource objTemplate = new TemplateResource(); object[] param = { objTheme }; return objTemplate.GetExistingFolderName(param); }
// by Ud: for saving and updating theme for business type User public void SaveDefaultTheme(int userId,string tributeType ,int themeId) { TemplateResource objTemplate = new TemplateResource(); using (TransactionScope trans = new TransactionScope()) { objTemplate.SaveDefaultTheme(userId, tributeType, themeId); //Transaction Commited trans.Complete(); } }
public List<Themes> GetThemesForCategory(string strTheme, string categoryName,string applicationType) { TemplateResource objTemplate = new TemplateResource(); return objTemplate.GetThemesForCategory(strTheme, categoryName, applicationType); }
public List<Themes> GetThemes(string strTheme) { TemplateResource objTemplate = new TemplateResource(); return objTemplate.GetThemes(strTheme); }
// by Ud: to getting Default Theme for Business type user public int GetDefaultTheme(int UserId, string strTributeType) { TemplateResource objTemplate = new TemplateResource(); return objTemplate.GetDefaultTheme(UserId, strTributeType); }