Beispiel #1
0
        public ActionResult GetStudent()
        {
            IEnumerable <StudentModel> students = obj.GetStudent();

            return(Json(students));
        }
Beispiel #2
0
 public Model.Student GetStudent(int Id)
 {
     DAL.Student dal = new DAL.Student();
     return(dal.GetStudent(Id));
 }