I can't add a view for HomeController Action index to control my database
I try to update (Package source) and (Microsoft Visual Studio Offline Packages) in nuget Manager like picture 2, but it's useless.
my HomeController code:
namespace Outfit_Web.Controllers{ public class HomeController : Controller { user_dbEntities db = new user_dbEntities(); public ActionResult Index() { var user = db.user_list.OrderBy(m => m.user_Id).ToList(); return View(user); } public ActionResult About() { ViewBag.Message = "Your application description page."; return View(); } public ActionResult Contact() { ViewBag.Message = "Your contact page."; return View(); } }}