Esempio n. 1
0
        public ViewResult assignStudentCompany(int id)
        {
            List <Student>      studentlist    = _student.GetAllStudent().ToList();
            employmentViewModel employmentView = new employmentViewModel()
            {
                studentlist = studentlist,
                compy_id    = id
            };

            return(View(employmentView));
        }
Esempio n. 2
0
        public IActionResult addStudentBatch(int id)
        {
            List <Student> studentlist = _studentRepo.GetAllStudent().ToList();
            //List<Batch> batches = _batchRepo.GetAllBatch().ToList();

            studentBatchViewModel studentBatchViewModel = new studentBatchViewModel()
            {
                studentList = studentlist,
                //batchList = batches,
                Id = id
            };

            return(View(studentBatchViewModel));
        }
Esempio n. 3
0
        public ViewResult Dashboard()
        {
            var model = _student.GetAllStudent();

            return(View(model));
        }