Last active
November 13, 2015 12:45
-
-
Save guntidheerajkumar/1d174e9c9af36cdce9a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private IEmployee employee; | |
public EmployeeController(IEmployee employee) | |
{ | |
this.employee = employee; | |
} | |
public ActionResult Index() | |
{ | |
return View(employee.GetAllEmployees()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment