Beispiel #1
0
        public ActionResult TypeOfMerchandising(TypeOfUse typeOfUse)
        {
            var model = new ChooseTypeOfMerchandisingViewModel {
                TypeOfUse = typeOfUse
            };

            return(View(model));
        }
Beispiel #2
0
 public ActionResult TypeOfMerchandising(ChooseTypeOfMerchandisingViewModel model)
 {
     if (ModelState.IsValid)
     {
         return(RedirectToAction("ChoosePropertyType",
                                 new { typeOfMerchandising = model.TypeOfMerchandising, typeOfUse = model.TypeOfUse }));
     }
     return(View(model));
 }