Exemplo n.º 1
0
 public IEnumerable <FlightDTO> GetByRoute(string departureFrom, string destination)
 {
     return(Mapper.Map <IEnumerable <Flight>, IEnumerable <FlightDTO> >(_service.GetFlightByRoute(departureFrom, destination)));
 }