i have already code in index view recorded only information about current user . My code is below:
var req = db.permit.Include(e => e.User).Where(m => m.UserId == User.Identity.GetUserId());
return View(req);
But it's not work. can anyone give me a solution.
Thank you.
Sachin Singh
18-Mar-2016