示例#1
0
 public ActionResult Create(int realStateId)
 {
     ViewBag.RealStateId = realStateId;
     ViewBag.Options     = _optionsRepo.GetAll();
     return(View());
 }
示例#2
0
 public ActionResult Index()
 {
     return(View(_repo.GetAll()));
 }