// // GET: /CCard/ public ActionResult Index() { List<CCardModel> model = null; using (CCardContext context = new CCardContext()) { model = context.GetCards(); } return View(model); }