public IActionResult Index() { List <Student> lststudent = new List <Student>(); lststudent = objstudent.GetAllStudents().ToList(); return(View(lststudent)); }
public IEnumerable <Student> Get() { StudentDataAccessLayer studentDataAccessLayer = new StudentDataAccessLayer(); IEnumerable <Student> result = studentDataAccessLayer.GetAllStudents(); return(result); }
public IEnumerable <StudentsVM> All() { return(objStudent.GetAllStudents()); }
public IEnumerable <Student> Index() { return(objStudent.GetAllStudents()); }