public ActionResult EditStation(int id, int line) { var model = new AdminModel() { Station = _stationBll.GetStationById(id), Line = _lineBll.GetLineById(line) }; ViewBag.line = _lineBll.GetLineById(line); return(View(model)); }
public ActionResult EditStation(int id, int line) { var model = new AdminModel() { Station = _stationBll.GetStationById(id), Line = _lineBll.GetLineById(line) }; ViewBag.line = _lineBll.GetLineById(line); return(View(model)); }