View Single Post
  #1 (permalink)  
Old May 2nd, 2013, 04:39 AM
matthisco matthisco is offline
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default NerdDinner example problem, help needed

Hello, I'm trying to create a DinnersController, but when I debug the code, i get an error:

NerdDinnerEntites could not be found.

Can anyone please tell me where I'm going wrong? Below is my controller.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace NerdDinner.Controllers
{
public class DinnersController : Controller
{
//
// GET: /Dinners/

public ActionResult Index()
{
return View();
}

}
}