Beispiel #1
0
        public IActionResult Index()
        {
            List <Student> lststudent = new List <Student>();

            lststudent = objstudent.GetAllStudents().ToList();
            return(View(lststudent));
        }
Beispiel #2
0
        public IEnumerable <Student> Get()
        {
            StudentDataAccessLayer studentDataAccessLayer = new StudentDataAccessLayer();
            IEnumerable <Student>  result = studentDataAccessLayer.GetAllStudents();

            return(result);
        }
 public IEnumerable <StudentsVM> All()
 {
     return(objStudent.GetAllStudents());
 }
Beispiel #4
0
 public IEnumerable <Student> Index()
 {
     return(objStudent.GetAllStudents());
 }