p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional ASP.NET MVC 2 (http://p2p.wrox.com/forumdisplay.php?f=588)
-   -   NerdDinner example problem, help needed (http://p2p.wrox.com/showthread.php?t=89971)

matthisco May 2nd, 2013 04:39 AM

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();
}

}
}

flyinhawaiian May 6th, 2013 12:18 PM

Did you create the view?


All times are GMT -4. The time now is 11:23 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.