Exemple #1
0
 public ActionResult Index()
 {
     using (Domain.Concrete.RelAContext context = new Domain.Concrete.RelAContext())
     {
         return View(context.Users.ToList());
     }
 }
Exemple #2
0
 public ActionResult Index()
 {
     using (Domain.Concrete.RelAContext context = new Domain.Concrete.RelAContext())
     {
         return(View(context.Users.ToList()));
     }
 }