Example #1
0
        public ActionResult WhatToWear()
        {
            var model = new WhatToWearMainViewModel();

            model.PopulateModel(ProductTypes, "", "", "");

            return(PartialView("WhatToWear", model));
        }
Example #2
0
        public ActionResult WhatToWearRandom(string selectedGender, string selectedStyle, string selectedSeason)
        {
            var model = new WhatToWearMainViewModel();

            model.ProductList = model.PopulateRandomList(selectedGender, selectedStyle, selectedSeason);


            return(PartialView("WhatToWearProducts", model.ProductList));
        }