public ActionResult EditPartialView(string id) { int selectedTrainingId = Convert.ToInt32(id); Training selectedTraining = _trainingRepository.GetTrainingByID(selectedTrainingId); return(PartialView("EditPartialView", selectedTraining)); }
public ActionResult EditPartialView(string id) { int selectedTrainingId = Convert.ToInt32(id); Training selectedTraining = _trainingRepository.GetTrainingByID(selectedTrainingId); return(PartialView("EditPartialView", selectedTraining)); }