Beispiel #1
0
 public void AddPipelineStepStatus(ApiPipelineStepStatusClientResponseModel item)
 {
     if (!this.PipelineStepStatus.Any(x => x.Id == item.Id))
     {
         this.PipelineStepStatus.Add(item);
     }
 }
Beispiel #2
0
        public virtual ApiPipelineStepStatusClientRequestModel MapClientResponseToRequest(
            ApiPipelineStepStatusClientResponseModel response)
        {
            var request = new ApiPipelineStepStatusClientRequestModel();

            request.SetProperties(
                response.Name);
            return(request);
        }
Beispiel #3
0
        public virtual ApiPipelineStepStatusClientResponseModel MapClientRequestToResponse(
            int id,
            ApiPipelineStepStatusClientRequestModel request)
        {
            var response = new ApiPipelineStepStatusClientResponseModel();

            response.SetProperties(id,
                                   request.Name);
            return(response);
        }
Beispiel #4
0
 public void SetPipelineStepStatusIdNavigation(ApiPipelineStepStatusClientResponseModel value)
 {
     this.PipelineStepStatusIdNavigation = value;
 }