/**
  * Save a new article.
  *
  * @param ArticleRequest $request
  * @return mixed
  */
 private function createArticle(ArticleRequest $request)
 {
     /**
      * Tao moi 1 article va tich hop voi User
      */
     $article = Auth::user()->articles()->create($request->all());
     /**
      * Gan tag vao article
      */
     $this->syncTags($article, $request->input('tag_list'));
     return $articlel;
 }
 /**
  * @param ArticleRequest $request
  * @return mixed
  */
 private function createArticle(ArticleRequest $request)
 {
     $article = Auth::user()->articles()->create($request->all());
     $this->syncTags($article, $request->input('tag_list'));
     return $article;
 }