示例#1
0
        public HallsServiceTests()
        {
            this.InitializeMapper();
            this.InitializeDatabaseAndRepositories();
            this.InitializeFields();

            this.hallsService = new HallsService(this.hallsRepository);
        }
 public ProjectionsController(
     IMoviesService moviesService,
     IHallsService hallsService,
     IProjectionsService projectionsService)
 {
     this.moviesService      = moviesService;
     this.hallsService       = hallsService;
     this.projectionsService = projectionsService;
 }
 public MovieProjectionsController(
     IMovieProjectionsService movieProjectionsService,
     IMoviesService moviesService,
     IHallsService hallsService,
     ICinemasService cinemasService)
 {
     this.movieProjectionsService = movieProjectionsService;
     this.moviesService           = moviesService;
     this.hallsService            = hallsService;
     this.cinemasService          = cinemasService;
 }
示例#4
0
 public EventsController(IEventsService eventsServices,
                         IHallsService hallsServices,
                         UserManager <User> userManager,
                         IEmailSender emailSender,
                         IEmailService emailService)
 {
     this.eventsServices = eventsServices;
     this.hallsServices  = hallsServices;
     this.userManager    = userManager;
     this.emailSender    = emailSender;
     this.emailService   = emailService;
 }
示例#5
0
 public ReservationsService(
     IDeletableEntityRepository <Reservation> reservationsRepository,
     IProjectionsService projectionsService,
     IHallsService hallsService,
     IMoviesService moviesService,
     IDeletableEntityRepository <ProjectionSeat> seatsRepository,
     UserManager <ApplicationUser> userManager)
 {
     this.reservationsRepository = reservationsRepository;
     this.projectionsService     = projectionsService;
     this.hallsService           = hallsService;
     this.moviesService          = moviesService;
     this.seatsRepository        = seatsRepository;
     this.userManager            = userManager;
 }
示例#6
0
 public HallsController(IHallsRepository exhibitRepository, IHallsService hallsService, ICompareService compareService)
 {
     _hallsRepository = exhibitRepository;
     _hallsService    = hallsService;
     _compareService  = compareService;
 }
 public SeatsController(ISeatsService seatsService, IHallsService hallsService)
 {
     this.seatsService = seatsService;
     this.hallsService = hallsService;
 }
示例#8
0
 public HallsController(IHallsService hallsService)
 {
     this.hallsService = hallsService;
 }
示例#9
0
 public HallsController([NotNull] IHallsService hallsService)
 {
     _hallsService = hallsService;
 }
示例#10
0
 public CalendarController(ICalendarService calendarService,
                           IHallsService hallsService)
 {
     this.calendarService = calendarService;
     this.hallsService    = hallsService;
 }
示例#11
0
 public CacheService(IHallsService hallsService, IStandsService standsService, IExhibitsService exhibitsService)
 {
     _hallsService    = hallsService;
     _standsService   = standsService;
     _exhibitsService = exhibitsService;
 }
示例#12
0
 public HallsController(IHallsService service)
 {
     _service = service;
 }