Example #1
0
        public Tenant GetTenantByUsername(string username)
        {
            var tenants = AdoHelper.ExecCachedListProc <Tenant>("sp_admin_tenants_select", false);
            var tenant  = (from x in tenants where x.UserName.Equals(username) select x).FirstOrDefault();

            return(tenant);
        }
Example #2
0
 private List <LogSystem> GetAllItems()
 {
     return(AdoHelper.ExecCachedListProc <LogSystem>("sp_cms_LogSystem_select", true));
 }
Example #3
0
 private List <SysVar> GetAllItems()
 {
     return(AdoHelper.ExecCachedListProc <SysVar>("sp_cms_SysVar_select", true));
 }
Example #4
0
 private List <SubscriptionStatus> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <SubscriptionStatus>("sp_cms_subscription_statuses_select", force));
 }
Example #5
0
 private List <User> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <User>("sp_admin_users_select", force));
 }
Example #6
0
 private List <SharedContent> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <SharedContent>("sp_cms_shared_content_select", force));
 }
Example #7
0
 private List <Group> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <Group>("sp_admin_groups_select", force));
 }
Example #8
0
 private List <ContentTemplate> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <ContentTemplate>("sp_cms_content_templates_select", force));
 }
Example #9
0
 private List <SubscriptionConfiguration> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <SubscriptionConfiguration>("sp_cms_subscriptions_config_select", force));
 }
Example #10
0
 private List <Country> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <Country>("sp_cms_countries_select", force));
 }
Example #11
0
 private List <MediaItem> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <MediaItem>("sp_cms_media_items_select", force, true, OverwriteResult));
 }
Example #12
0
 private List <MediaType> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <MediaType>("sp_cms_media_types_select", force));
 }
Example #13
0
 private List <Tenant> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <Tenant>("sp_admin_tenants_select", force));
 }
Example #14
0
 private List <GlobalConfiguration> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <GlobalConfiguration>("sp_cms_global_configuration_select", force));
 }
Example #15
0
 private List <ConfigEvent> GetAllItems()
 {
     return(AdoHelper.ExecCachedListProc <ConfigEvent>("sp_cms_config_events_select", true));
 }
Example #16
0
 private List <AdminPage> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <AdminPage>("sp_admin_pages_select", force, false));
 }
Example #17
0
 private List <NewsComment> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <NewsComment>("sp_cms_news_comments_select", force));
 }
Example #18
0
 private List <MediaGallery> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <MediaGallery>("sp_cms_media_galleries_select", force));
 }
Example #19
0
 private List <TransactionLog> GetAllItems()
 {
     return(AdoHelper.ExecCachedListProc <TransactionLog>("sp_cms_TransactionLog_select", true));
 }
Example #20
0
 private List <SingleNews> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <SingleNews>("sp_cms_news_select", force));
 }
Example #21
0
 private List <NewsCategory> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <NewsCategory>("sp_cms_news_categories_select", force));
 }
Example #22
0
 private List <PageLanguage> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <PageLanguage>("sp_cms_pages_languages_select", force));
 }
Example #23
0
 private List <NewsConfiguration> GetAllItems(bool force = false)
 {
     return(AdoHelper.ExecCachedListProc <NewsConfiguration>("sp_cms_news_config_select", force));
 }