Ejemplo n.º 1
0
 public AuditoriumService(IAuditoriumsRepository auditoriumsRepository, ITheatreRepository theatreRepository, ISeatsRepository seatsRepository, IShowsRepository showsRepository)
 {
     _auditoriumsRepository = auditoriumsRepository;
     _theatreRepository     = theatreRepository;
     _seatsRepository       = seatsRepository;
     _showsRepository       = showsRepository;
 }
 /// <summary>
 /// Initializes instance of Showing service.
 /// </summary>
 /// <param name="mapper">mapper</param>
 public ShowingService(IMapper mapper)
 {
     _movieRepository   = new MovieRepository();
     _repository        = new ShowingRepository();
     _theatreRepository = new TheatreRepository();
     _mapper            = mapper;
 }
Ejemplo n.º 3
0
 public TheatreService(ITheatreRepository theatreRepository, IAuditoriumsRepository auditoriumsRepository, ISeatsRepository seatsRepository, IAddressesRepository addressesRepository)
 {
     _theatreRepository     = theatreRepository;
     _auditoriumsRepository = auditoriumsRepository;
     _seatsRepository       = seatsRepository;
     _addressesRepository   = addressesRepository;
 }
Ejemplo n.º 4
0
 public ScreeningManagementService(
     IFilmTheatreRepository filmTheatreRepository,
     IFilmRepository filmRepository,
     ITheatreRepository theatreRepository)
 {
     _filmTheatreRepository = filmTheatreRepository;
     _filmRepository        = filmRepository;
     _theatreRepository     = theatreRepository;
 }
Ejemplo n.º 5
0
 public ScreeningController(
     IFilmRepository filmRepository,
     ITheatreRepository theatreRepository,
     IScreeningManagementService screeningManagementService)
 {
     _filmRepository             = filmRepository;
     _theatreRepository          = theatreRepository;
     _screeningManagementService = screeningManagementService;
 }
Ejemplo n.º 6
0
 public SubjectService(
     ISubjectRepository subjectRepository,
     IUniversityDomainService universityDomainService,
     ITheatreRepository theatreRepository
     )
 {
     _subjectRepository       = subjectRepository;
     _universityDomainService = universityDomainService;
     _theatreRepository       = theatreRepository;
 }
Ejemplo n.º 7
0
 public TheatreBl()
 {
     theatreRepository = new TheatreRepository();
 }
Ejemplo n.º 8
0
 public TheatreService(ITheatreRepository ITheatreRepository)
 {
     TheatreRepository = ITheatreRepository;
 }
Ejemplo n.º 9
0
 public TheatreService(ITheatreRepository theatreRepository)
 {
     _theatreRepository = theatreRepository;
 }