예제 #1
0
 public function getArticle($id)
 {
     $article = BlogService::GetArticle($id);
     // convert article to json data for transmission
     return response()->json($article);
 }