public virtual ActionResult List() { var users = UserManager.Users; var model = new UserDataSource(); model.Users = Mapper.Map <List <UserViewModel> >(users); model.SetActions(); return(View(MVC.Shared.Views._Grid, model.GetGridModel())); }
public virtual ActionResult List() { var users = UserManager.Users; var model = new UserDataSource(); model.Users = Mapper.Map <List <UserViewModel> >(users); model.SetActions(); return(View(MVC.Shared.Views._Grid, model.GetGridModel())); }