public function store(CalendarRequest $request)
    {
        try {
            $attributes              = $request->all();
            $attributes['user_id']   = user_id();
            $attributes['user_type'] = user_type();
            $calendar                = $this->repository->create($attributes);
            return $this->response->message(trans('messages.success.created', ['Module' => trans('calendar::calendar.name')]))
                ->code(204)
                ->status('success')
                ->url(trans_url($this->getGuardRoute() . '/calendar/calendar/' . $calendar->getRouteKey()))
                ->redirect();
        } catch (Exception $e) {
            return $this->response->message($e->getMessage())
                ->code(400)
                ->status('error')
                ->url(trans_url($this->getGuardRoute() . '/calendar/calendar'))
                ->redirect();
        }

    }