Example #1
0
        public int?ConfirmHail(IbsOrderKey orderKey, IbsVehicleCandidate selectedVehicle)
        {
            var ibsOrderKey         = Mapper.Map <TBookOrderKey>(orderKey);
            var ibsVehicleCandidate = Mapper.Map <TVehicleComp>(selectedVehicle);

            int?result = null;

            UseService(service =>
            {
                Logger.LogMessage("WebService Confirming Hail for orderkey: " + JsonSerializer.SerializeToString(ibsOrderKey, typeof(TBookOrderKey)));
                Logger.LogMessage("WebService Confirming Hail for vehicle: " + JsonSerializer.SerializeToString(ibsVehicleCandidate, typeof(TVehicleComp)));

                result = service.UpdateJobToVehicle(UserNameApp, PasswordApp, ibsOrderKey, ibsVehicleCandidate);
                Logger.LogMessage("WebService Confirm Hail, orderid : " + ibsOrderKey.OrderID + ", orderGUID : " + ibsOrderKey.GUID);
            });

            return(result);
        }
Example #2
0
 public int?ConfirmHail(IbsOrderKey orderKey, IbsVehicleCandidate selectedVehicle)
 {
     throw new NotImplementedException();
 }