Ejemplo n.º 1
0
        private static ApplicationWebsiteManager CreateWebsiteManager(ApplicationDbContext dbContext)
        {
            var manager = new ApplicationWebsiteManager(new CrmWebsiteStore <ApplicationWebsite, string>(dbContext))
            {
                WebsiteName = GetWebsiteName()
            };

            return(manager);
        }
Ejemplo n.º 2
0
        private static ApplicationWebsiteManager CreateWebsiteManager(CrmDbContext dbContext, CrmEntityStoreSettings settings)
        {
            var manager = new ApplicationWebsiteManager(new CrmWebsiteStore <ApplicationWebsite, Guid>(dbContext, settings))
            {
                WebsiteName = GetWebsiteName()
            };

            return(manager);
        }