public function execute($appId, AppListener $listener)
 {
     $repository = $this->repository->unInstallRepository($appId);
     $this->log->info('App UnInstalled', $repository->toArray());
     return $listener->appRedirect($repository);
 }
 public function execute($appId, $appData, AppListener $listener)
 {
     $app = $this->repository->updateRepository($appId, $appData);
     $this->log->info('Branch Updated', $app->toArray());
     return $listener->appRedirect($app);
 }
 public function execute($domainId, $repositoryData, AppListener $listener)
 {
     $repository = $this->repository->addNewRepository($domainId, $repositoryData);
     $this->log->info('Repository created for DomainID: ' . $domainId, $repository->toArray());
     return $listener->appRedirect($repository);
 }