Example #1
0
 public CinemasController(
     ICinemasService cinemasService,
     ICloudinaryService cloudinaryService)
 {
     this.cinemasService    = cinemasService;
     this.cloudinaryService = cloudinaryService;
 }
Example #2
0
 public OrdersController(IOrderService orderService, ICinemasService cinemasService, IFilmsService filmsService, ISeanceService seanceService)
 {
     _orderService   = orderService;
     _cinemasService = cinemasService;
     _filmsService   = filmsService;
     _seanceService  = seanceService;
 }
Example #3
0
        public CinemasServiceTests()
        {
            this.InitializeMapper();
            this.InitializeDatabaseAndRepositories();
            this.InitializeFields();

            this.cinemasService = new CinemasService(this.cinemasRepository);
        }
Example #4
0
 public ScheduleController(
     IMovieProjectionsService movieProjectionsService,
     IMoviesService moviesService,
     ICinemasService cinemasService)
 {
     this.movieProjectionsService = movieProjectionsService;
     this.moviesService           = moviesService;
     this.cinemasService          = cinemasService;
 }
 public MovieProjectionsController(
     IMovieProjectionsService movieProjectionsService,
     IMoviesService moviesService,
     IHallsService hallsService,
     ICinemasService cinemasService)
 {
     this.movieProjectionsService = movieProjectionsService;
     this.moviesService           = moviesService;
     this.hallsService            = hallsService;
     this.cinemasService          = cinemasService;
 }
 public BookingController(ICinemasService cinemaFuctionsService, IBookingService bookingService)
 {
     _cinemaFunctionsService = cinemaFuctionsService;
     _bookingService         = bookingService;
 }
Example #7
0
 public ModeratorController(ICinemasService cinemasService, IFilmsService filmsService)
 {
     _cinemasService = cinemasService;
     _filmsService   = filmsService;
 }
 public CinemasController(ICinemasService cinemasService)
 {
     this.cinemasService = cinemasService;
 }
 public CinemasController([NotNull] ICinemasService cinemasService)
 {
     _cinemasService = cinemasService;
 }
 public SeancesController(ISeanceService seanceService, ICinemasService cinemasService, IFilmsService filmsService)
 {
     _seanceService  = seanceService;
     _cinemasService = cinemasService;
     _filmsService   = filmsService;
 }
 public CinemasController(ICinemasService service)
 {
     _service = service;
 }
Example #12
0
 public CinemasController(ICinemasService service, ICinemaDtoValidator validator)
 {
     _service   = service;
     _validator = validator;
 }