Exemplo n.º 1
0
        public ActionResult StudentList()

        {
            var list = services.List();

            return(View(list));
        }
        public ActionResult StudentList()
        {
            var list = services.List();

            return(Json(list, JsonRequestBehavior.AllowGet));
        }