public UserService(IPatientService patientServ, IDoctorService _doctor, ISecretaryService secretaryService, IDirectorService directorService)
 {
     _patientService   = patientServ;
     _doctorService    = _doctor;
     _secretaryService = secretaryService;
     _directorService  = directorService;
 }
Exemplo n.º 2
0
 public DirectorController(IDirectorService directorService,
                           IMapper mapper, IWebHostEnvironment env)
 {
     _directorService = directorService;
     _mapper          = mapper;
     _env             = env;
 }
Exemplo n.º 3
0
 public FilmService(IFilmRepository filmRepository, IDirectorService directorService, ICastMemberService castMemberService, IPermissionService permissionService)
 {
     this.filmRepository    = filmRepository;
     this.directorService   = directorService;
     this.castMemberService = castMemberService;
     this.permissionService = permissionService;
 }
Exemplo n.º 4
0
        public MovieController(IMovieService movieService,
                               IUrlRecordService urlRecordService,
                               ICategoryService categoryService,
                               IPictureService pictureService,
                               ICacheManager cacheManager,
                               ISubMovieService subMovieService,
                               IDirectorService directorService,
                               IHostingEnvironment env,
                               IRazorViewEngine razorViewEngine,
                               ITempDataProvider tempDataProvider,
                               IServiceProvider serviceProvider,
                               IEmailSender emailSender,
                               IMovieCategoryService movieCategoryService,
                               IMovieModelFactory movieModelFactory,
                               ITagService tagService)
        {
            _tagService           = tagService;
            _movieModelFactory    = movieModelFactory;
            _movieCategoryService = movieCategoryService;
            _diretorService       = directorService;
            _subMovieService      = subMovieService;
            _cacheManager         = cacheManager;
            _movieService         = movieService;
            _urlRecordService     = urlRecordService;
            _categoryService      = categoryService;
            _pictureService       = pictureService;
            _env = env;

            _razorViewEngine  = razorViewEngine;
            _tempDataProvider = tempDataProvider;
            _serviceProvider  = serviceProvider;
            _emailSender      = emailSender;
        }
Exemplo n.º 5
0
 public SearchModel(IBookService books, IAuthorService authors, IMovieService movies, IDirectorService directors)
 {
     this.books         = books;
     this.authors       = authors;
     this.movies        = movies;
     this.directors     = directors;
     this.SearchResults = new List <SearchResultModel>();
 }
Exemplo n.º 6
0
 public ShopCartController(IShoppingCartService shoppingCartService, IWishlistService wishlistService, IMovieService movieService, IDirectorService directorService, IPublisherService publisherService, IHttpContextAccessor httpContextAccessor)
 {
     _shoppingCartService = shoppingCartService;
     _wishlistService     = wishlistService;
     _movieService        = movieService;
     _directorService     = directorService;
     _publisherService    = publisherService;
     _httpContextAccessor = httpContextAccessor;
 }
Exemplo n.º 7
0
 public HomeController(ILogger <HomeController> logger, IMovieService movieService, IDirectorService directorService, IPublisherService publisherService, IWishlistService wishlistService, IShoppingCartService shoppingCartService, IHttpContextAccessor httpContextAccessor)
 {
     _logger              = logger;
     _movieService        = movieService;
     _directorService     = directorService;
     _publisherService    = publisherService;
     _wishlistService     = wishlistService;
     _shoppingCartService = shoppingCartService;
     _httpContextAccessor = httpContextAccessor;
 }
Exemplo n.º 8
0
        public MovieController(IMovieService movieService,
                               IGenreService genreService,
                               IDirectorService directorService,
                               ILogger <MovieController> logger)

        {
            _movieService    = movieService;
            _genreService    = genreService;
            _directorService = directorService;
            _logger          = logger;
        }
Exemplo n.º 9
0
 public MovieController(IMovieService movieService,
                        IDirectorService directorService,
                        IProducerService producerService,
                        IPublisherService publisherService,
                        ILogger <MovieController> logger)
 {
     _movieService     = movieService;
     _directorService  = directorService;
     _producerService  = producerService;
     _publisherService = publisherService;
     _logger           = logger;
 }
 public MoviesController(
     IMovieService movieService,
     ICategoryService categoryService,
     IDirectorService directorService,
     ILogger <MoviesController> logger
     )
 {
     _movieService    = movieService;
     _categoryService = categoryService;
     _directorService = directorService;
     _logger          = logger;
 }
Exemplo n.º 11
0
        public ManagerDirectorsController(IDirectorService directorService)
        {
            _directorService = directorService;

            var directors = _directorService.GetAll();

            if (directors != null)
            {
                var directorViewModels = Mapper.Map <IEnumerable <DirectorViewModel> >(directors);

                _listDirectorViewModel = directorViewModels.ToList();
            }
        }
Exemplo n.º 12
0
 public HomeController(
     IMovieService movieService,
     IDirectorService directorService,
     IListingMovieService listingMovieService,
     IHttpContextAccessor httpContextAccessor,
     IRentingMovieService rentingMovieService
     )
 {
     _movieService        = movieService;
     _directorService     = directorService;
     _listingMovieService = listingMovieService;
     _httpContextAccessor = httpContextAccessor;
     _rentingMovieService = rentingMovieService;
 }
Exemplo n.º 13
0
 public HomeController(
     IMovieService movieService,
     IDirectorService directorService,
     IWishlistService wishlistService,
     IHttpContextAccessor httpContextAccessor,
     IShoppingCartService shoppingCartService
     )
 {
     _movieService        = movieService;
     _directorService     = directorService;
     _wishlistService     = wishlistService;
     _httpContextAccessor = httpContextAccessor;
     _shoppingCartService = shoppingCartService;
 }
        public ManagerSeriesTVController(IMoviesService movieService, IFilmService filmService, IProducerService producerService,
                                         IActorsService actorService, ICategorysService categorysService,
                                         IDirectorService directorService, ITagService tagService,
                                         IResolutionService resolutionService,
                                         IActorMovieService actorMovieService,
                                         IDirectorMovieService directorMovieService,
                                         ICategoryMovieService categoryMovieService,
                                         IProducerMovieService producerMovieService,
                                         IResolutionMovieService resolutionMovieService,
                                         ITagMovieService tagMovieService)
        {
            _movieService           = movieService;
            _filmService            = filmService;
            _producerService        = producerService;
            _actorService           = actorService;
            _categorysService       = categorysService;
            _directorService        = directorService;
            _tagService             = tagService;
            _resolutionService      = resolutionService;
            _actorMovieService      = actorMovieService;
            _directorMovieService   = directorMovieService;
            _categoryMovieService   = categoryMovieService;
            _producerMovieService   = producerMovieService;
            _resolutionMovieService = resolutionMovieService;
            _tagMovieService        = tagMovieService;


            var listMovies = _movieService.GetAllSeriesTV();

            if (!_listSeriesTV.Any())
            {
                foreach (var item in listMovies)
                {
                    var movieViewModel = AutoMapper.Mapper.Map <MoviesViewModel>(item);
                    var listFilm       = _filmService.GetAllFilmInSeriesTV(item.Id);
                    var filmViewModel  = AutoMapper.Mapper.Map <IList <FilmViewModel> >(listFilm);

                    var model = new SeriesTVViewModel()
                    {
                        MoviesViewModel = movieViewModel,
                        FilmViewModels  = filmViewModel
                    };
                    _listSeriesTV.Add(model);
                }
            }
        }
Exemplo n.º 15
0
 public MovieController(IMovieService movieService,
                        IDirectorService directorService,
                        ICastService castService,
                        IScenaristService scenaristService,
                        IGenreService genreService,
                        ILanguageService languageService,
                        IWebHostEnvironment env,
                        UserManager <User> userManager)
 {
     _movieService     = movieService;
     _directorService  = directorService;
     _castService      = castService;
     _scenaristService = scenaristService;
     _langugageService = languageService;
     _genreService     = genreService;
     _env         = env;
     _userManager = userManager;
 }
Exemplo n.º 16
0
 public JavScrapeService(IAppLogger <JavScrapeService> logger, IOptionsSnapshot <JavlibSettings> javlibSettings,
                         IMovieService movieService,
                         IActorService actorService,
                         ICategoryService categoryService,
                         ICompanyService companyService,
                         IDirectorService directorService,
                         IPublisherService publisherService,
                         IHtmlService htmlService)
 {
     _logger           = logger;
     _javlibSettings   = javlibSettings.Value;
     _movieService     = movieService;
     _actorService     = actorService;
     _categoryService  = categoryService;
     _companyService   = companyService;
     _directorService  = directorService;
     _publisherService = publisherService;
     _htmlService      = htmlService;
 }
Exemplo n.º 17
0
        public ModeratorController(IMovieDataProvider movieDataProvider,
                                   IActorDataProvider actorDataProvider, ICategoryDataProvider categoryDataProvider, IMovieService movieService,
                                   IDirectorDataProvider directorDataProvider, IMetadataDataProvider metadataDataProvider, ICategoryService categoryService, IActorService actorService,
                                   IMetadataService metadataService, IMainMovieService mainMovieService, IMainMovieDataProvider mainMovieDataProvider, IDirectorService directorService)
            : base()
        {
            _movieDataProvider     = movieDataProvider;
            _actorDataProvider     = actorDataProvider;
            _categoryDataProvider  = categoryDataProvider;
            _directorDataProvider  = directorDataProvider;
            _metadataDataProvider  = metadataDataProvider;
            _mainMovieDataProvider = mainMovieDataProvider;

            _movieService     = movieService;
            _categoryService  = categoryService;
            _actorService     = actorService;
            _metadataService  = metadataService;
            _mainMovieService = mainMovieService;
            _directorService  = directorService;
        }
Exemplo n.º 18
0
 public MoviesController(IMoviesService moviesService,
                         IActorMovieService actorMovieService,
                         IActorsService actorsService,
                         IDirectorService directorService,
                         IDirectorMovieService directorMovieService,
                         IFilmService filmService,
                         IRatingService ratingService,
                         IApplicationUserService applicationUserService,
                         IFavoriteMovieService favoriteMovieService)
 {
     _moviesService          = moviesService;
     _actorMovieService      = actorMovieService;
     _actorsService          = actorsService;
     _directorService        = directorService;
     _directorMovieService   = directorMovieService;
     _filmService            = filmService;
     _ratingService          = ratingService;
     _applicationUserService = applicationUserService;
     _favoriteMovieService   = favoriteMovieService;
 }
Exemplo n.º 19
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;
 }
Exemplo n.º 20
0
 public DirectorController(IDirectorService directorService)
 {
     _directorService = directorService;
 }
 public DirectorController(IDirectorService directorService, ILogger <DirectorController> logger)
 {
     _directorService = directorService;
     _logger          = logger;
 }
Exemplo n.º 22
0
 public DirectorController(IDirectorService DirectorService)
 {
     this.DirectorService = DirectorService;
 }
 public DirectorsController(IDirectorService service) => directorService = service;
Exemplo n.º 24
0
 /// <summary>
 /// Initialisation de la liste des films
 /// </summary>
 private void Init()
 {
     _films          = new List <Film>();
     directorService = new DirectorService();
     Load();
 }
Exemplo n.º 25
0
 public MovieService(IMovieDataAccess movieDataA)
 {
     this.movieDataA = movieDataA;
     dirService      = new DirectorService(dirDa);
 }
Exemplo n.º 26
0
 public DetailModel(IDirectorService directorService, IMapper _mapper)
 {
     _directorService = directorService;
     mapper = _mapper;
 }
Exemplo n.º 27
0
 public DirectorController(IDirectorService directorService)
 {
     this.DirectorService = directorService;
 }
Exemplo n.º 28
0
 public IndexModel(IDirectorService directorService)
 {
     _directorService = directorService;
 }
Exemplo n.º 29
0
 public MovieController(IMovieService movieService, IDirectorService directorService)
 {
     this.MovieService = movieService;
     this.DirectorService = directorService;
 }
Exemplo n.º 30
0
 public DirectorController(IDirectorDataProvider directorDataProvider, IDirectorService directorService)
 {
     _directorDataProvider = directorDataProvider;
     _directorService      = directorService;
 }
 public DirectorsController(IDirectorService service)
 {
     this._service = service;
 }
 public DirectorsController(ILogger <DirectorsController> logger, IDirectorService directorService)
 {
     _logger          = logger;
     _directorService = directorService;
 }