예제 #1
0
 public ActionResult Create()
 {
     ViewBag.tipodirec = tpdirecService.FindAll();
     ViewBag.distrito  = distritoservice.FindAll();
     return(View());
 }
예제 #2
0
 // GET: Distrito
 public ActionResult Index()
 {
     return(View(distritoService.FindAll()));
 }