public function up(Application $app, Request $request, $id)
{
$this->isTokenValid($app);
$TargetNews = $app['eccube.repository.news']->find($id);
if (!$TargetNews) {
throw new NotFoundHttpException();
}
$status = $app['eccube.repository.news']->up($TargetNews);
if ($status) {
$app->addSuccess('admin.news.up.complete', 'admin');
} else {
$app->addError('admin.news.up.error', 'admin');
}
return $app->redirect($app->url('admin_content_news'));
}