예제 #1
0
		public HomeController(ContactContext db)
		{
			this.db = db;
		}
예제 #2
0
		public HomeController()
		{
			db = new ContactContext();
			db.Configuration.AutoDetectChangesEnabled = false;
		}