public BackOfficeAccountController(IAccountRepository IAccountRepository, IMovieRepository IMovieRepository, IHallRepository IHallRepository, IHallMovieRepository IHallMovieRepository) { this.IAccountRepository = IAccountRepository; this.IMovieRepository = IMovieRepository; this.IHallRepository = IHallRepository; this.IHallMovieRepository = IHallMovieRepository; }
/// <summary> /// .ctor /// </summary> /// <param name="loggerFactory">Поставщик логгера</param> /// <param name="hallRepository">Репозиторий залов</param> /// <param name="sessionRepository">Репозиторий сессий</param> /// <param name="filmRepository">Репозиторий фильмов</param> public HallService(ILoggerFactory loggerFactory, IHallRepository hallRepository, ISessionRepository sessionRepository, IFilmRepository filmRepository, IPlaceRepository placeRepository) : base(loggerFactory.CreateLogger <HallService>()) { _hallRepository = hallRepository; _sessionRepository = sessionRepository; _filmRepository = filmRepository; _placeRepository = placeRepository; }
public AdminScheduleController(IScheduleRepository scheduleRepo, IMovieRepository movieRepo, IHallRepository hallRepo) { ScheduleRepo = scheduleRepo; MovieRepo = movieRepo; HallRepo = hallRepo; date = new List <DateTime>(); duration = new List <int>(); }
public TrainingController( ITrainingRepository repository, ICoachRepository coachRepository, IHallRepository hallRepository) { _repository = repository; _coachRepository = coachRepository; _hallRepository = hallRepository; }
public HallServiceTest() { var optionsBuilder = new DbContextOptionsBuilder <ApplicationDbContext>(); optionsBuilder.UseInMemoryDatabase("TestDb" + Guid.NewGuid()); applicationDbContext = new ApplicationDbContext(optionsBuilder.Options); hallRepository = new HallRepository(applicationDbContext); hallService = new HallService(hallRepository); }
public HallService(IHallRepository hallRepository) { _hallRepository = hallRepository; }
public static ScreeningTimeBuilder Init(IHallRepository hallRepository) { return(new ScreeningTimeBuilder(hallRepository)); }
public HallCtrl() { IHallRepo = new HallRepository(); }
public HallService(RemoteSpider remoteCall, IHallRepository repository, ILogger <HallService> logger) { this._remoteCall = remoteCall; this._repository = repository; this._logger = logger; }
public ScreeningTimeBuilder(IHallRepository hallRepository) { this.hallRepository = hallRepository; }
/// <summary> /// /// </summary> /// <param name="customerRepository"></param> /// <param name="reservationRepository"></param> /// <param name="hallRepository"></param> public CustomerService(ICustomerRepository customerRepository, IReservationRepository reservationRepository, IHallRepository hallRepository) { _customerRepository = customerRepository; _reservationRepository = reservationRepository; _hallRepository = hallRepository; }
/// <summary> /// .ctor /// </summary> /// <param name="loggerFactory">Поставщик логгера</param> /// <param name="filmRepository">Репозиторий фильмов</param> /// <param name="sessionRepository">Репозиторий сессий</param> /// <param name="hallRepository">Репозиторий залов</param> public FilmService(ILoggerFactory loggerFactory, IFilmRepository filmRepository, ISessionRepository sessionRepository, IHallRepository hallRepository) : base(loggerFactory.CreateLogger <FilmService>()) { _filmRepository = filmRepository; _sessionRepository = sessionRepository; _hallRepository = hallRepository; }
public MovieService(IMovieRepository movieRepository, IHallRepository hallRepository) { this.movieRepository = movieRepository; this.hallRepository = hallRepository; }
public HallController(IHallRepository repository) { _repository = repository; }
public EFHallManager(IHallRepository hallRepository) { _hallRepository = hallRepository; }
public HallController(IHallRepository hallRepository, IUrlHelper urlHelper, ILogger <HallController> logger) { _hallRepository = hallRepository; _urlHelper = urlHelper; _logger = logger; }
public HallController(IHallRepository repo) { this.repo = repo; }
/// <summary> /// /// </summary> /// <param name="hallRepository"></param> public HallService(IHallRepository hallRepository) { this._hallRepository = hallRepository; }
/// <summary> /// Конструктор класса /// </summary> /// <param name="loggerFactory">Поставщик логгера</param> /// <param name="cinemaRepository">Репозиторий кинотеатра</param> /// <param name="filmRepository">Репозиторий фильмов</param> /// <param name="hallRepository">Репозиторий залов</param> public CinemaService(ILoggerFactory loggerFactory, ICinemaRepository cinemaRepository, IFilmRepository filmRepository, IHallRepository hallRepository) : base(loggerFactory.CreateLogger <CinemaService>()) { _cinemaRepository = cinemaRepository; _filmRepository = filmRepository; _hallRepository = hallRepository; }