コード例 #1
0
ファイル: MovieController.cs プロジェクト: anna-hileta/cinema
 public MovieController(IMovieService movieService, ICinemaLocationService cinemaLocationService, IPDFService pdfService, ITicketService ticketService, IWorkerService workerService, ITicketCheckService ticketcheckService, ICheckService checkService, IShowingService showingService, UserManager <Worker> userManager, SignInManager <Worker> signInManager)
 {
     this.workerService         = workerService;
     this.cinemaLocationService = cinemaLocationService;
     this.movieService          = movieService;
     this.pdfService            = pdfService;
     this.ticketcheckService    = ticketcheckService;
     this.checkService          = checkService;
     this.ticketService         = ticketService;
     this.showingService        = showingService;
     this.userManager           = userManager;
     this.signInManager         = signInManager;
 }
コード例 #2
0
 public AdminTablesController(CinemaContext context, ITicketCheckService ticketCheckService, IFoodcourtCheckProductService foodcourtCheckProductService, IFoodcourtCheckService foodcourtCheckService, ICheckService checkService, ITicketService ticketService, ICinemaLocationService cinemaLocationService, IFoodProductsService foodProductsService, ITechnologyService technologyService, ICityService cityService, IFoodAmountService foodAmountService, ICinemaHallService cinemaHallService, IDirectorService directorService, IWorkerService workerService, ICountryOfOriginService countryOfOriginService, IMovieService movieService, IGenreService genreService, IShowingService showingService, UserManager <Worker> userManager, SignInManager <Worker> signInManager)
 {
     this.foodProductsService          = foodProductsService;
     this.directorService              = directorService;
     this.technologyService            = technologyService;
     this.cityService                  = cityService;
     this.foodAmountService            = foodAmountService;
     this.cinemaHallService            = cinemaHallService;
     this.context                      = context;
     this.ticketCheckService           = ticketCheckService;
     this.foodcourtCheckProductService = foodcourtCheckProductService;
     this.foodcourtCheckService        = foodcourtCheckService;
     this.checkService                 = checkService;
     this.ticketService                = ticketService;
     this.cinemaLocationService        = cinemaLocationService;
     this.countryOfOriginService       = countryOfOriginService;
     this.movieService                 = movieService;
     this.workerService                = workerService;
     this.genreService                 = genreService;
     this.showingService               = showingService;
     this.userManager                  = userManager;
     this.signInManager                = signInManager;
 }
コード例 #3
0
 public void SetUp()
 {
     _services = new ShowingService(AutoMapperConfig.Initialize());
 }
コード例 #4
0
 public ShowingController(IShowingService showingService)
 {
     _showingService = showingService;
 }
コード例 #5
0
 /// <summary>
 /// Initializes an instance of ShowingController.
 /// </summary>
 public ShowingController()
 {
     _showingService = new ShowingService(AutoMapperConfig.Initialize());
 }
コード例 #6
0
 public ShowTableController(IShowingService service)
 {
     _service = service;
 }
コード例 #7
0
 public ShowingController(IShowingService showingService, IMapper mapper)
 {
     _showingService = showingService;
     _mapper         = mapper;
 }