public function massAttachTags(MassAttachRequest $request)
    {
        $data = $request->only(['ids', 'tag_names']);

        foreach ($data['ids'] as $model_id) {
            /** @var \Unite\Tags\HasTagsInterface $object */
            if($object = $this->repository->find($model_id)) {
                $object->attachTags($data['tag_names']);
            }
        }

        \Cache::tags('response')->flush();

        return $this->successJsonResponse();
    }