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