예제 #1
0
        public async Task <ActionResult <IEnumerable <BusStationReadDto> > > GetAllBusStationsAsync()
        {
            var busStations = await _busStationService.GetBusStationsAsync();

            return(Ok(_mapper.Map <IEnumerable <BusStationReadDto> >(busStations)));
        }