Esempio n. 1
0
 public UserRepository(CineMagicDbContext dbContext, IHttpContextAccessor httpContextAccessor, ICinemaCreditCardRepository cinemaCreditCardRepository, IAvailableSeatsRepository availableSeatsRepository)
 {
     this._dbContext                  = dbContext;
     this._httpContextAccessor        = httpContextAccessor;
     this._cinemaCreditCardRepository = cinemaCreditCardRepository;
     this._availableSeatsRepository   = availableSeatsRepository;
 }
Esempio n. 2
0
 public AdministratorController(ILogger <AdministratorController> logger, IMoviesRepository moviesRepository, IUserRepository userRepository, IProjectionsRespository projectionsRepository, CineMagicDbContext dbContext)
 {
     _logger = logger;
     this._moviesRepository      = moviesRepository;
     this._projectionsRepository = projectionsRepository;
     this._userRepository        = userRepository;
     _dbContext = dbContext;
 }
 public CinemaCreditCardRepository(CineMagicDbContext dbContext)
 {
     this._dbContext = dbContext;
 }
 public ReservationsRepository(CineMagicDbContext dbContext, IProjectionsRespository projectionsRepository, IHttpContextAccessor httpContextAccessor)
 {
     this._dbContext             = dbContext;
     this._projectionsRepository = projectionsRepository;
     this._httpContextAccessor   = httpContextAccessor;
 }
Esempio n. 5
0
 public CinemaHallRepository(CineMagicDbContext dbContext)
 {
     this._dbContext = dbContext;
 }
Esempio n. 6
0
 public MoviesRepository(CineMagicDbContext dbContext, IProjectionsRespository projectionsRespository)
 {
     this._dbContext             = dbContext;
     this._projectionsRepository = projectionsRespository;
 }
 public AvailableSeatsRepository(CineMagicDbContext dbContext)
 {
     this._dbContext = dbContext;
 }
 public ProjectionsRepository(CineMagicDbContext dbContext, ICinemaHallRepository cinemaHallRepository)
 {
     this._dbContext            = dbContext;
     this._cinemaHallRepository = cinemaHallRepository;
 }