forum

Home / DeveloperSection / Forums / How to index view record information only current user

How to index view record information only current user

Anupam Mishra 1707 18-Mar-2016
Hi,

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.

Updated on 18-Mar-2016

Can you answer this question?


Answer

1 Answers

Liked By