public async Task <IActionResult> IndexRead() { UserInformer informer = new UserInformer(User, _context, _userManager); var model = await informer.GetUserPageDataAsync(); return(PartialView("_UserReadPartial", model)); }
public async Task <IActionResult> Index() { UserInformer informer = new UserInformer(User, _context, _userManager); var model = await informer.GetUserPageDataAsync(); return(View(model)); }