public void AddPipeline(ApiPipelineClientResponseModel item) { if (!this.Pipelines.Any(x => x.Id == item.Id)) { this.Pipelines.Add(item); } }
public virtual ApiPipelineClientRequestModel MapClientResponseToRequest( ApiPipelineClientResponseModel response) { var request = new ApiPipelineClientRequestModel(); request.SetProperties( response.PipelineStatusId, response.SaleId); return(request); }