Esempio n. 1
0
 public function deleteArticle($id)
 {
     BlogService::DeleteArticle($id);
 }
Esempio n. 2
0
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     $title = 'Hello, World!';
     $content = '## Hello again, world!';
     BlogService::CreateArticle($title, $content);
 }