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