public ActionResult Index() { // ViewData["Message"] = "Welcome to ASP.NET MVC!"; // DDVI.Models.DondaviDataContext db = new DDVI.Models.DondaviDataContext(); var dataContext = new DondaviDataContext(); var customers = from c in dataContext.Customers select c; return View(customers); }
public DondaviRepository() { _dataContext = new DondaviDataContext(); }