Beispiel #1
0
 public void AddAirTransport(ApiAirTransportClientResponseModel item)
 {
     if (!this.AirTransports.Any(x => x.Id == item.Id))
     {
         this.AirTransports.Add(item);
     }
 }
        public virtual ApiAirTransportClientRequestModel MapClientResponseToRequest(
            ApiAirTransportClientResponseModel response)
        {
            var request = new ApiAirTransportClientRequestModel();

            request.SetProperties(
                response.AirlineId,
                response.FlightNumber,
                response.HandlerId,
                response.LandDate,
                response.PipelineStepId,
                response.TakeoffDate);
            return(request);
        }