Example #1
0
 public function addFavoriteAction(Movies $movie)
 {
     $movie->addFavoriteBy($this->auth);
     echo json_encode(['status' => 'success']);
     return false;
 }