示例#1
0
        public virtual ApiPipelineStepNoteClientRequestModel MapClientResponseToRequest(
            ApiPipelineStepNoteClientResponseModel response)
        {
            var request = new ApiPipelineStepNoteClientRequestModel();

            request.SetProperties(
                response.EmployeeId,
                response.Note,
                response.PipelineStepId);
            return(request);
        }
示例#2
0
        public virtual ApiPipelineStepNoteClientResponseModel MapClientRequestToResponse(
            int id,
            ApiPipelineStepNoteClientRequestModel request)
        {
            var response = new ApiPipelineStepNoteClientResponseModel();

            response.SetProperties(id,
                                   request.EmployeeId,
                                   request.Note,
                                   request.PipelineStepId);
            return(response);
        }