Exemplo n.º 1
0
        // GET: Home
        public ActionResult Index()
        {
            List <Student> model = new List <Student>();

            model = studentSqlDAl.GetAllStudents();

            return(View("Index", model));
        }
Exemplo n.º 2
0
        public ActionResult Index()
        {
            List <Student> students = studentDAL.GetAllStudents();

            return(View("Index", students));
        }