public IActionResult Insert(NumberOfBusStops numberOfBusStops) { LineNameVM lineNameVM = new LineNameVM() { NumberOfBusStops = numberOfBusStops.number, lineName = new LineName(), busStopList = new List <BusStopList>(), BusStopListItem = _unitOfWork.BusStop.GetBusStopListDropDown(), IsReversedToo = false }; return(View(lineNameVM)); }
public IActionResult AddNewLine() { NumberOfBusStops numberOfBusStops = new NumberOfBusStops(); return(View(numberOfBusStops)); }