The GetALL is the action method which he passed , which is returning the list of records. which is right below.
public ActionResult GetAll()
using (DBModel db = new DBModel())
var list = db.Employees.ToList();
This above method is the difference I mean in that tutorial the instructor has separately created a method which is getting the list and in this action method he called that method.but in my implementation i returing the list directly as you can seen above.so in the third parameter of
He passed that method which i not created , what i supposed to pass here ? and also if someone can describe the functionality above i will be thankful to him. #Peace