예제 #1
0
        public virtual ApiPipelineStepStepRequirementClientRequestModel MapClientResponseToRequest(
            ApiPipelineStepStepRequirementClientResponseModel response)
        {
            var request = new ApiPipelineStepStepRequirementClientRequestModel();

            request.SetProperties(
                response.Details,
                response.PipelineStepId,
                response.RequirementMet);
            return(request);
        }
예제 #2
0
        public virtual ApiPipelineStepStepRequirementClientResponseModel MapClientRequestToResponse(
            int id,
            ApiPipelineStepStepRequirementClientRequestModel request)
        {
            var response = new ApiPipelineStepStepRequirementClientResponseModel();

            response.SetProperties(id,
                                   request.Details,
                                   request.PipelineStepId,
                                   request.RequirementMet);
            return(response);
        }