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

            return(Ok(stops));
        }