Showing Error"System.Data.Entity.DynamicProxies.ApplicationUser_C3CE64A8FD622619CA0FE3088F8FFDF0B2006F96CF05E0D591DC0AE317DA222E
This is my HomeController- using LoginRegister.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using static LoginRegister.Controllers.ManageController; namespace LoginRegister.Controllers { public class HomeController : Controller { private ApplicationUserManager _userManager; public HomeController() { } public HomeController(ApplicationUserManager userManager) { UserManager = userManager; } public ApplicationUserManager UserManager { get { return _userManager ?? HttpContext.GetOwinContext().GetUserManager<ApplicationUserManager>(); } private set { _userManager = value; } } public ActionResult Index() { return View(); } public ActionResult About() { ViewBag.Message = "Your application description page."; return View(); } public ActionResult MyShop() { ViewBag.userid = UserManager.FindById(User.Identity.GetUserId()); //ViewBag.userid = UserManager.FindById(User.Identity.GetUserId()); return View(); } This is my myShop View <h1>@ViewBag.userid</h1>