Example #1
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;
        }
Example #2
0
 public MovieModelFactory(ICacheManager cacheManager,
                          IPictureService pictureService,
                          IMovieCategoryService movieCategoryService,
                          ISubMovieService subMovieService)
 {
     _subMovieService      = subMovieService;
     _cacheManager         = cacheManager;
     _pictureService       = pictureService;
     _movieCategoryService = movieCategoryService;
 }
        public MoviesPerCategoryViewComponent(ICategoryService categoryService,
                                              IPictureService pictureService, IMovieService movieService,
                                              ICountryService countryService,
                                              ICacheManager cacheManager,
                                              ISubMovieService subMovieService,
                                              IMovieModelFactory movieModelFactory)
        {
            _movieModelFactory = movieModelFactory;
            _subMovieService   = subMovieService;
            _countryService    = countryService;
            _movieService      = movieService;
            _categoryService   = categoryService;

            _cacheManager = cacheManager;
        }