How to implement a list of all registered users, as well as the ability to delete, edit and add new ones?

User output must be implemented through UserManager.
Now HomeController looks like this:

private ApplicationSignInManager _signInManager; private ApplicationUserManager _userManager; public HomeController() { } public HomeController(ApplicationUserManager userManager, ApplicationSignInManager signInManager) { UserManager = userManager; SignInManager = signInManager; } public ApplicationSignInManager SignInManager { get { return _signInManager ?? HttpContext.GetOwinContext().Get<ApplicationSignInManager>(); } private set { _signInManager = value; } } public ApplicationUserManager UserManager { get { return _userManager ?? HttpContext.GetOwinContext().GetUserManager<ApplicationUserManager>(); } private set { _userManager = value; } } public ActionResult Index() { var us = UserManager.Users.ToList(); return View(us); } 

What is the next step?

  • one
    What is the question? is your code not working? - Grundy
  • What is the next step? It’s necessary to create a presentation, as I understand it. And how to implement editing / deleting - BrSystem
  • I think it's worth adding these questions to the post - Grundy

0