Esempio n. 1
0
        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()));
        }