Exemplo n.º 1
0
        public virtual ApiPipelineStepStatusClientRequestModel MapClientResponseToRequest(
            ApiPipelineStepStatusClientResponseModel response)
        {
            var request = new ApiPipelineStepStatusClientRequestModel();

            request.SetProperties(
                response.Name);
            return(request);
        }
Exemplo n.º 2
0
        public virtual ApiPipelineStepStatusClientResponseModel MapClientRequestToResponse(
            int id,
            ApiPipelineStepStatusClientRequestModel request)
        {
            var response = new ApiPipelineStepStatusClientResponseModel();

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