예제 #1
0
 // GET api/<controller>
 public IEnumerable <EmployeeSalaryViewModel> Get()
 {
     return(EmployeeSalaryRepo.Get());
 }
예제 #2
0
 public ActionResult List()
 {
     return(View("_List", EmployeeSalaryRepo.Get()));
 }