Esempio n. 1
0
 public JsonResult List()
 {
     return(Json(nxbRepo.GetAll(), JsonRequestBehavior.AllowGet));
 }
Esempio n. 2
0
 public ActionResult Create()
 {
     ViewBag.MaCD  = new SelectList(chudeRepo.GetAll(), "MaCD", "Tenchude");
     ViewBag.MaNXB = new SelectList(nxbRepo.GetAll(), "MaNXB", "TenNXB");
     return(View());
 }