/**
  * Handle the command.
  *
  * @param  UpdateNewsCommand  $command
  * @return void
  */
 public function handle(UpdateNewsCommand $command)
 {
     $active = $command->active === 'on' ? 1 : 0;
     $news_object = News::edit($command->news_id, $command->title, $command->excerpt, $command->body, $active);
     $news = $this->repo->save($news_object);
     $news->categories()->sync($command->categories);
     $news->tags()->sync($command->tags);
     $this->caricaImmagine($news, $command->image_path);
     Event::fire(new NewsWasUpdated($news));
     return $news;
 }