/**
  * @param VenueInputModel $model
  * @return ServiceResponse
  * @throws \Exception
  */
 public function addVenue(VenueInputModel $model) : ServiceResponse
 {
     $venue = new Venue($model->getTitle(), $model->getDescription(), $model->getAddress(), HttpContext::getInstance()->getIdentity()->getUserId());
     $this->dbContext->getVenuesRepository()->add($venue);
     $this->dbContext->saveChanges();
     $title = $model->getTitle();
     $owner = HttpContext::getInstance()->getIdentity()->getUsername();
     $message = "New conference titled '{$title}' was added by user {$owner}.";
     $notyService = new NotificationsService($this->dbContext);
     $notyService->postToAll($message);
     return new ServiceResponse(null, 'Venue added successfully.');
 }