public ActionResult SuggestedUser() { var model = _userServiceAgent.GetAllUsers(5, User.Identity.GetUserId()).ToList(); //var model = RandomUserGenerator.GetManyDummyUser(10); return(PartialView(@"~\Views\Index\_SuggestedUsers.cshtml", model)); }
public ActionResult Index() { var model = _userServiceAgent.GetAllUsers(100, User.Identity.GetUserId()); return(View(model)); }