public IActionResult Trainee() { var model = new TraineeCreateVm(); model.TraineeList = _traineeManager.GetAll(); model.DepartmentLookUpData = _utilityManager.GetDepartmentLookUpData(); return(View(model)); }
// GET: Trainees public IActionResult Index() { return(View(_iTraineeManager.GetAll().ToList())); }
public IActionResult Index() { var trainees = _iTraineeManager.GetAll().ToList(); return(View(trainees)); }