Esempio n. 1
0
        public ActionResult Index()
        {
            UserBusinessLayer ubl         = new UserBusinessLayer();
            UserListViewModel ulViewModel = new UserListViewModel();
            List <userinfo>   userlist    = ubl.GetUserInfo();

            ulViewModel.userlist = userlist;
            return(View(ulViewModel));
        }