private function updateProductTag(ProductRequest $request, $id)
 {
     $product = $this->productModel->find($id);
     $idsTagsToSync = array();
     $tagsFromRequest = explode(',', $request->get('tags'));
     foreach ($tagsFromRequest as $tag) {
         $tagId = $this->tagModel->where('name', '=', $tag)->get(['id'])->first();
         if (empty($tagId["id"])) {
             $tagId = $this->tagModel->create(['name' => $tag]);
         }
         $idsTagsToSync[] = $tagId["id"];
     }
     $product->tags()->sync($idsTagsToSync);
 }