 final class GitHubRepositoryTableViewController: UIViewController {
     fileprivate lazy var repositoryTableView: UITableView = self.createRepositoryTableView()
     fileprivate lazy var repositorySearchBar: UISearchBar = self.createRepositorySearchBar()
+    fileprivate lazy var emptyLabel: UILabel = self.createEmptyLabel()
     fileprivate lazy var loadingView: UIActivityIndicatorView = self.createLoadingView()
 
     fileprivate var presenter: GitHubRepositoryPresenter? = nil

        self.navigationItem.rightBarButtonItem = UIBarButtonItem(title: "Clear", style: .plain, target: self, action: #selector(self.didTapClearButton(_:)))
        self.view.addSubview(self.repositoryTableView)
        self.repositoryTableView.tableHeaderView = self.repositorySearchBar
        self.view.addSubview(self.loadingView)
    }


extension GitHubRepositoryTableViewController: GitHubRepositoryPresenterInput {
    func setRepositoriesModel(_ repositoriesModel: GitHubRepositoriesModel) {
        self.repositories = repositoriesModel.repositories
        self.emptyLabel.isHidden = !self.repositories.isEmpty
        self.repositoryTableView.reloadData()
    }

