public UserRepository(CineMagicDbContext dbContext, IHttpContextAccessor httpContextAccessor, ICinemaCreditCardRepository cinemaCreditCardRepository, IAvailableSeatsRepository availableSeatsRepository) { this._dbContext = dbContext; this._httpContextAccessor = httpContextAccessor; this._cinemaCreditCardRepository = cinemaCreditCardRepository; this._availableSeatsRepository = availableSeatsRepository; }
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; }
public CinemaHallRepository(CineMagicDbContext dbContext) { this._dbContext = dbContext; }
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; }