Esempio n. 1
0
        public Profiles GetProfiles()
        {
            ProfileDAO profileDao = new ProfileDAO();
            Profiles   profiles   = new Profiles();

            profiles.profiles = profileDao.GetAll();

            return(profiles);
        }
        public IActionResult ViewProfile()
        {
            ProfileDAO dao = new ProfileDAO();

            return(View(dao.GetAll()));
        }
        public IActionResult ViewAllRegisteredProfiles()
        {
            ProfileDAO dao = new ProfileDAO();

            return(View(dao.GetAll()));
        }