public ActionResult <List <TrainStop> > Get() =>
 _trainStopService.GetAll();
Exemple #2
0
        public ActionResult <List <TrainStop> > GetAll()
        {
            var stops = _trainStopService.GetAll();

            return(Ok(stops));
        }