public CinemaController( ICinemaService cinemaService, IMapper mapper) { this.cinemaService = cinemaService; this.mapper = mapper; }
public PromotionCineController(IPromotionCineService promotionCineService, IStatusService statusService, ICinemaService cinemaService, IPromotionService promotionService) { _promotionCineService = promotionCineService; _statusService = statusService; _cinemaService = cinemaService; _promotionService = promotionService; }
public HomeController(ICinemaService cinemaService , IOptions <ConnectionOption> options ) { _cinemaService = cinemaService; _options = options; }
public RoomFilmController(ICinemaService cinemaService, IStaffService staffService, IRoomFilmService roomFilmService) { _cinemaService = cinemaService; _staffService = staffService; _roomFilmService = roomFilmService; }
public MyOrdersController(IOrderService orderService, ICinemaService cinemaService, IFilmService filmService, ISeanceService seanceService) { _orderService = orderService; _filmService = filmService; _cinemaService = cinemaService; _seanceService = seanceService; }
public CinemaController( [FromServices] ICinemaService cinemaService, [FromServices] ILogger <CinemaController> logger) { this.logger = logger; this.cinemaService = cinemaService; }
public HomeController(ICinemaService cinemaService, IMovieService movieService, IDataProvider dataProvider) { _cinemaService = cinemaService; _movieService = movieService; _dataProvider = dataProvider; }
public SeanceInfoController(ISeanceService seanceService, IFilmService filmService, IBusySeatService seatsBusyService, ICinemaService cinemaService) { _seanceService = seanceService; _filmService = filmService; _seatsBusyService = seatsBusyService; _cinemaService = cinemaService; }
public LoginViewModel(ICinemaService model) { this._model = model ?? throw new ArgumentNullException(nameof(model)); UserName = String.Empty; ExitCommand = new DelegateCommand(param => OnExitApplication()); LoginCommand = new DelegateCommand(param => LoginAsync(param as PasswordBox)); }
public MoviesController(ICinemaService cinemaService, ILogger <MoviesController> logger, IUrlHelper urlHelper) { this.cinemaService = cinemaService; this.logger = logger; this.urlHelper = urlHelper; }
public CinemaController() { var dbFactory = new DatabaseFactory(); this.cinemaRepository = new Repository <Domain.Cinema>(dbFactory); this.unitOfWork = new UnitOfWork(dbFactory); this.cinemaService = new CinemaService(dbFactory); }
public UsersController(IUserService users, UserManager <User> userManager, ICinemaService projections) { this.users = users; this.userManager = userManager; this.projections = projections; }
public MenuViewModel(ICinemaService model) { _model = model ?? throw new ArgumentNullException(nameof(model)); NewMovieCommand = new DelegateCommand(param => OnNewMovie()); NewShowCommand = new DelegateCommand(param => OnNewShow()); ReserveCommand = new DelegateCommand(param => OnReserve()); LogoutCommand = new DelegateCommand(param => OnLogout()); }
public ProjectionsController( IProjectionsService projectionsService, IMoviesService moviesService, ICinemaService cinemaService) { this.projectionsService = projectionsService; this.moviesService = moviesService; this.cinemaService = cinemaService; }
public NewMovieViewModel(ICinemaService model) { _model = model ?? throw new ArgumentNullException(nameof(model)); newMovie = new MovieDto(); SendCommand = new DelegateCommand(param => AddNewMovie()); CancelCommand = new DelegateCommand(param => OnCancel()); OpenPicture = new DelegateCommand(param => CreateImage()); }
public HomeController(IStatusService statusService, IFilmService filmService, IAdsBannerService adsBannerService, IEventTopicService eventTopicService, ICinemaService cinemaService, IPromotionService promotionService, IPromotionCineService promotionCineService) { _statusService = statusService; _filmService = filmService; _adsBannerService = adsBannerService; _eventTopicService = eventTopicService; _cinemaService = cinemaService; _promotionService = promotionService; _promotionCineService = promotionCineService; }
public ManagersController(ICinemaService cinemaService, IMoviesService moviesService, IGenresService genresService, ILogger logger) { _cinemaService = cinemaService; _moviesService = moviesService; _genresService = genresService; _logger = logger; }
public NewShowViewModel(ICinemaService model) { _model = model ?? throw new ArgumentNullException(nameof(model)); NewShow = new ShowDto(); LoadData(); SendCommand = new DelegateCommand(param => AddNewShow()); CancelCommand = new DelegateCommand(param => OnCancel()); }
public AdminDashboardController(CinemaTicketBookingContext context, UserManager <ApplicationUser> userManager, ILogger <AccountController> logger, ICinemaService cinemaService) { _userManager = userManager; _context = context; _logger = logger; _cinemaService = cinemaService; }
public ReservationViewModel(ICinemaService model) { _model = model ?? throw new ArgumentNullException(nameof(model)); LoadData(); _newReservation = new ReservationDto(); CancelCommand = new DelegateCommand(param => OnCancel()); OpenShowSeats = new DelegateCommand(param => LoadSeats(param as ShowDto)); SellTickets = new DelegateCommand(param => SendReservation()); }
public CinemasController(CinemaTicketBookingContext context, UserManager <ApplicationUser> userManager, ILogger <AccountController> logger, ICinemaService cinemaService, IImageHandler imageHandler) { _userManager = userManager; _context = context; _logger = logger; _cinemaService = cinemaService; _imageHandler = imageHandler; }
public DateResolverDialog(ICinemaService cinemaService) : base(nameof(DateResolverDialog)) { this.cinemaService = cinemaService; AddDialog(new DateTimePrompt(nameof(DateTimePrompt), DateTimePromptValidator)); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { InitialStepAsync, FinalStepAsync, })); InitialDialogId = nameof(WaterfallDialog); }
private void App_Startup(object sender, StartupEventArgs e) { _service = new CinemaServices(ConfigurationManager.AppSettings["baseAddress"]); _loginViewModel = new LoginViewModel(_service); _loginViewModel.ExitApplication += ViewModel_ExitApplication; _loginViewModel.MessageApplication += ViewModel_MessageApplication; _loginViewModel.LoginSuccess += ViewModel_LoginSuccess; _loginViewModel.LoginFailed += ViewModel_LoginFailed; _loginWindow = new LoginWindow { DataContext = _loginViewModel }; _loginWindow.Show(); }
public MainDialog(TicketBookingRecognizer recognizer, BookingDialog bookingDialog, ICinemaService cinemaService, IWarningsService warningsService, ITranslationService translationService, UserState userState) : base(nameof(MainDialog)) { luisRecognizer = recognizer; this.cinemaService = cinemaService; this.warningsService = warningsService; this.translationService = translationService; languageStateProperty = userState.CreateProperty <string>("LanguagePreference"); needToTranslateProperty = userState.CreateProperty <bool>("NeedToTranslate"); AddDialog(new TextPrompt(nameof(TextPrompt))); AddDialog(bookingDialog); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { IntroStepAsync, ActStepAsync, FinalStepAsync, })); InitialDialogId = nameof(WaterfallDialog); }
public BookingDialog(ICinemaService cinemaService, UserState userState, ITranslationService translationService) : base(nameof(BookingDialog)) { this.cinemaService = cinemaService; this.translationService = translationService; languageStateProperty = userState.CreateProperty <string>("LanguagePreference"); needToTranslateProperty = userState.CreateProperty <bool>("NeedToTranslate"); AddDialog(new ChoicePrompt(nameof(ChoicePrompt))); AddDialog(new ConfirmPrompt(nameof(ConfirmPrompt))); AddDialog(new DateResolverDialog(cinemaService)); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { MovieStepAsync, MovieDateStepAsync, CinemaStepAsync, ConfirmStepAsync, FinalStepAsync, })); InitialDialogId = nameof(WaterfallDialog); }
public MovieController(IMovieService movieService, ICinemaService cinemaService) { _movieService = movieService; _cinemaService = cinemaService; }
public CinemaTests(ICinemaService cinemaService) { _cinemaService = cinemaService; }
public CinemaController(ICinemaService cinemaService, IMapper mapper) { _cinemaService = cinemaService; _mapper = mapper; }
public CinemaController(ICinemaService service) { _service = service; }
public SeancesController(ISeanceService seanceService, ICinemaService cinemaService, IFilmService filmService) { _seanceService = seanceService; _filmService = filmService; _cinemaService = cinemaService; }
public AdminCinemaController(ICinemaService service) { _service = service; }