Ejemplo n.º 1
0
        public static ExtendedVehicle ToExtendedVehicle(Vehicle vehicle)
        {
            ExtendedVehicle extendedVehicle = Mapper.Map <ExtendedVehicle>(vehicle);

            return(extendedVehicle);
        }
Ejemplo n.º 2
0
        public static Vehicle ToVehicle(ExtendedVehicle extendedVehicle)
        {
            Vehicle vehicle = Mapper.Map <ExtendedVehicle, Vehicle>(extendedVehicle);

            return(vehicle);
        }