public function delete()
    {
        try {
            if (is_null($id = Input::get('id'))) {
                throw new Exception('Invalid notification id provided');
            }
            $this->stack->deleteById($id);
        } catch (Exception $ex) {
            Log::alert($ex);
            return new JsonResponse(['message' => trans('antares/notifications::messages.sidebar.unable_to_delete_notification_item')], 500);
        }
    }