Exemplo n.º 1
0
 public ActionResult <List <TrainStop> > Get() =>
 _trainStopService.GetAll();
Exemplo n.º 2
0
        public ActionResult <List <TrainStop> > GetAll()
        {
            var stops = _trainStopService.GetAll();

            return(Ok(stops));
        }