asp.net mvc - List of registered users with details on MVC 5 -
i know if possible how list of registered users , details in mvc 5?
i'm sort of trying users outputted tabular form when creating controllers , views other data sets can edited , forth. i'm using asp .net identity store user details.
try following:
- right-click controllers , add new controller
- choose mvc 5 controller views, using entity framework
- choose user object model class (typically called applicationuser if project created standard vs/mvc template)
- you'll find (as did) scaffolding adds new dbset dbcontext called applicationusers. can delete because imagine context should include set of users called users.
- finally find , replace applicationusers property users in new controller.
you should able run app , navigate /applicationusers see list of users, usual edit/details/delete action links.
Comments
Post a Comment