예제 #1
0
 public void AddPipelineStatus(ApiPipelineStatusClientResponseModel item)
 {
     if (!this.PipelineStatus.Any(x => x.Id == item.Id))
     {
         this.PipelineStatus.Add(item);
     }
 }
예제 #2
0
        public virtual ApiPipelineStatusClientRequestModel MapClientResponseToRequest(
            ApiPipelineStatusClientResponseModel response)
        {
            var request = new ApiPipelineStatusClientRequestModel();

            request.SetProperties(
                response.Name);
            return(request);
        }
예제 #3
0
        public virtual ApiPipelineStatusClientResponseModel MapClientRequestToResponse(
            int id,
            ApiPipelineStatusClientRequestModel request)
        {
            var response = new ApiPipelineStatusClientResponseModel();

            response.SetProperties(id,
                                   request.Name);
            return(response);
        }
 public void SetPipelineStatusIdNavigation(ApiPipelineStatusClientResponseModel value)
 {
     this.PipelineStatusIdNavigation = value;
 }