public function store(LinksRequest $request)
    {
        try {
            $validation = app(ValidationService::class)->check(Link::$rules);

            if (!$validation['errors']) {
                $links = $this->repository->store($request->all());
                Cms::notification('Link saved successfully.', 'success');

                if (!$links) {
                    Cms::notification('Link could not be saved.', 'danger');
                }
            } else {
                return $validation['redirect'];
            }
        } catch (Exception $e) {
            Cms::notification($e->getMessage() ?: 'Link could not be saved.', 'danger');
        }

        return redirect(route($this->routeBase.'.menus.edit', [$request->get('menu_id')]));
    }