// GET: Student
        public ActionResult Index()
        {
            var StudentOrchestrator = new StudentOrchestrator();

            var model = StudentOrchestrator.GetStudentDetails();

            return(View(model));
        }
Beispiel #2
0
        public ActionResult Index()
        {
            var studentOrchestrator = new StudentOrchestrator();

            var model = new DMACCModel
            {
                Students = studentOrchestrator.GetAllStudents()
            };

            return(View(model));
        }
Beispiel #3
0
 public StudentApiController()
 {
     _studentOrchestrator = new StudentOrchestrator();
 }