// GET: DatN2s public ActionResult Index() { List <DatN2> n2s = _repo.GetAllDatN2s(); //return View(db.DatN2s.ToList()); return(View(n2s)); }