Esempio n. 1
0
 public CasierController(CasierView casierView, SpectacolRepository spectacolRepoModel)
 {
     view          = casierView;
     spectacolRepo = spectacolRepoModel;
     view.logout(Logout_Click);
     view.minimize(Minimize_Click);
     view.populateTable(spectacolRepo.getSpectacole(), CreareMatriceLocuri_Click);
     view.buyTicket(Buy_Click);
     view.exportBilet(Export_Click);
     view.showInfoSpectacol(InfoSpectacol_Click);
 }