Пример #1
0
 public static function getreview($idnews)
 {
     return newsComment::where('news_id', $idnews)->orderby('id', 'desc')->get();
 }
Пример #2
0
 public function delreviewNews($id)
 {
     newsComment::find($id)->delete();
     return back();
 }