示例#1
0
        public ActionResult ViewUser()
        {
            UserDataLayer objData  = new UserDataLayer();
            List <User>   ListUser = objData.GetUsers();

            return(View(ListUser));
        }
示例#2
0
        public ActionResult Index()
        {
            UserDataLayer ObjUserDataLayer = new UserDataLayer();

            List <User> ListUser = ObjUserDataLayer.GetUsers();



            return(View(ListUser));
        }