public virtual ApiPipelineStepDestinationRequestModel MapResponseToRequest(
            ApiPipelineStepDestinationResponseModel response)
        {
            var request = new ApiPipelineStepDestinationRequestModel();

            request.SetProperties(
                response.DestinationId,
                response.PipelineStepId);
            return(request);
        }
        public virtual ApiPipelineStepDestinationResponseModel MapRequestToResponse(
            int id,
            ApiPipelineStepDestinationRequestModel request)
        {
            var response = new ApiPipelineStepDestinationResponseModel();

            response.SetProperties(id,
                                   request.DestinationId,
                                   request.PipelineStepId);
            return(response);
        }
        public JsonPatchDocument <ApiPipelineStepDestinationRequestModel> CreatePatch(ApiPipelineStepDestinationRequestModel model)
        {
            var patch = new JsonPatchDocument <ApiPipelineStepDestinationRequestModel>();

            patch.Replace(x => x.DestinationId, model.DestinationId);
            patch.Replace(x => x.PipelineStepId, model.PipelineStepId);
            return(patch);
        }