Beispiel #1
0
 // GET: Category2Property/Create
 public ActionResult Create(int categoryId)
 {
     ViewBag.Propertties = new SelectList(_dropDownService.GetProperties(), "id", "name", null);
     return(View(new Category2FacilityViewModel {
         CategoryId = categoryId
     }));
 }
Beispiel #2
0
 // GET: Facility/Create
 public ActionResult Create()
 {
     ViewBag.Parents = new SelectList(_dropDownService.GetProperties(), "id", "name", null);
     return(View());
 }