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

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

            return(View(model));
        }
Exemple #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));
        }
        public async Task <ActionResult> Index()
        {
            var availableSiteTemplates = await _siteTemplateService.Read();

            var model = new SiteTemplateCreationModel {
                SiteCreationTemplates = availableSiteTemplates
            };


            return(View(model));
        }