| @@ 83-90 (lines=8) @@ | ||
| 80 | * @param JobEntityInterface $jobEntity |
|
| 81 | * @return bool |
|
| 82 | */ |
|
| 83 | public function addJob(JobEntityInterface $jobEntity) |
|
| 84 | { |
|
| 85 | if ($this->apiClient->addingJob($jobEntity)) { |
|
| 86 | $this->cacheHasToDelete = true; |
|
| 87 | return true; |
|
| 88 | } |
|
| 89 | return false; |
|
| 90 | } |
|
| 91 | ||
| 92 | /** |
|
| 93 | * @param JobEntityInterface $jobEntity |
|
| @@ 96-103 (lines=8) @@ | ||
| 93 | * @param JobEntityInterface $jobEntity |
|
| 94 | * @return bool |
|
| 95 | */ |
|
| 96 | public function updateJob(JobEntityInterface $jobEntity) |
|
| 97 | { |
|
| 98 | if ($this->apiClient->updatingJob($jobEntity)) { |
|
| 99 | $this->cacheHasToDelete = true; |
|
| 100 | return true; |
|
| 101 | } |
|
| 102 | return false; |
|
| 103 | } |
|
| 104 | ||
| 105 | /** |
|
| 106 | * @param JobEntityInterface $jobEntity |
|