Exemplo n.º 1
0
        public async Task <ActionResult> Index()
        {
            var templates = await _siteTemplateService.Read();

            var model = templates.OrderByDescending(st => st.CreationTimeStamp).ToList();

            return(View(model));
        }
Exemplo n.º 2
0
        public async Task <ActionResult> Index()
        {
            var availableSiteTemplates = await _siteTemplateService.Read();

            var model = new SiteCollectionTemplateCreationModel()
            {
                SiteCreationTemplates = availableSiteTemplates
            };

            model.TimeZoneId          = 1;
            model.Lcid                = 1033;
            model.StorageMaximumLevel = 10;

            return(View(model));
        }
Exemplo n.º 3
0
        public async Task <ActionResult> Index()
        {
            var availableSiteTemplates = await _siteTemplateService.Read();

            var model = new SiteTemplateCreationModel {
                SiteCreationTemplates = availableSiteTemplates
            };


            return(View(model));
        }