Beispiel #1
0
        public virtual ApiVehicleClientRequestModel MapClientResponseToRequest(
            ApiVehicleClientResponseModel response)
        {
            var request = new ApiVehicleClientRequestModel();

            request.SetProperties(
                response.Name);
            return(request);
        }
Beispiel #2
0
        public virtual ApiVehicleClientResponseModel MapClientRequestToResponse(
            int id,
            ApiVehicleClientRequestModel request)
        {
            var response = new ApiVehicleClientResponseModel();

            response.SetProperties(id,
                                   request.Name);
            return(response);
        }