public function create(array $input) { if ($id = News::create($input)) { return $id; } throw new GeneralException('There was a problem creating this news. Please try again.'); }