コード例 #1
0
ファイル: UserController.cs プロジェクト: mariadias143/LI4
        // 1. *************RETRIEVE ALL User DETAILS ******************
        // GET: User
        public ActionResult Index()
        {
            IConnection connection = new Connection();

            connection.Fetch();

            IDAO <Utilizador> uDAO = new UtilizadorDAO(connection);

            ModelState.Clear();
            return(View(uDAO.ListAll()));
        }