public ActionResult <List <TrainStop> > Get() => _trainStopService.GetAll();
public ActionResult <List <TrainStop> > GetAll() { var stops = _trainStopService.GetAll(); return(Ok(stops)); }
public ActionResult <List <TrainStop> > Get() => _trainStopService.GetAll();
public ActionResult <List <TrainStop> > GetAll() { var stops = _trainStopService.GetAll(); return(Ok(stops)); }