// 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())); }