public CmsController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IAuthorizationService authorizationService, ILoggerFactory loggerFactory, ISiteRepository siteRepository, ISitePageRepository sitePageRepository, ISectionRepository sectionRepository, IArticleRepository articleRepository, IBrandingRepository brandingRepository, ICarouselRepository carouselRepository, ICarouselSlideRepository carouselSlideRepository, IMenuRepository menuRepository, IMenuItemRepository menuItemRepository, Site site ) { _userManager = userManager; _signInManager = signInManager; _authorizationService = authorizationService; _logger = loggerFactory.CreateLogger <CmsController>(); this.siteRepository = siteRepository; this.sitePageRepository = sitePageRepository; this.sectionRepository = sectionRepository; this.articleRepository = articleRepository; this.brandingRepository = brandingRepository; this.carouselRepository = carouselRepository; this.carouselSlideRepository = carouselSlideRepository; this.menuRepository = menuRepository; this.menuItemRepository = menuItemRepository; this.site = site; }
public CarouselService(ICarouselRepository carouselRepository, ICarouselValidator carouselValidator, IImageAnalysisService imageAnalysisService, IPageService pageService, IUnitOfWorkFactory unitOfWorkFactory, IUploadService uploadService, IWebHelperService webHelperService) { _carouselRepository = carouselRepository; _carouselValidator = carouselValidator; _imageAnalysisService = imageAnalysisService; _pageService = pageService; _unitOfWorkFactory = unitOfWorkFactory; _uploadService = uploadService; _webHelperService = webHelperService; }
public CarouselService(Microsoft.Extensions.Logging.ILogger <CarouselService> logger, GRA.Abstract.IDateTimeProvider dateTimeProvider, Abstract.IUserContextProvider userContextProvider, ICarouselRepository carouselRepository, ICarouselItemRepository carouselItemRepository) : base(logger, dateTimeProvider, userContextProvider) { SetManagementPermission(Permission.ManageCarousels); _carouselItemRepository = carouselItemRepository ?? throw new ArgumentNullException(nameof(carouselItemRepository)); _carouselRepository = carouselRepository ?? throw new ArgumentNullException(nameof(carouselRepository)); }
public CarouselController(IMapper mapper, ICarouselRepository repo, IOptions <CloudinarySettings> cloudinaryConfig, IUnitOfWork unitOfWork) { this.unitOfWork = unitOfWork; this.repo = repo; this.mapper = mapper; this.cloudinaryConfig = cloudinaryConfig; Account acc = new Account( this.cloudinaryConfig.Value.CloudName, this.cloudinaryConfig.Value.ApiKey, this.cloudinaryConfig.Value.ApiSecret ); this.cloudinary = new Cloudinary(acc); }
public HomeController(IPhotoRepository photoRepository, ICarouselRepository carouselRepository) { _photoRepository = photoRepository; _carouselRepository = carouselRepository; }
public CarouselController(ICarouselRepository carouselRepo, IHostingEnvironment hosting) { this._carouselRepo = carouselRepo; this._hosting = hosting; }
public HomeController(ICarouselRepository carousel, IMenuCategoryRepository menuCategory) { carouselRepository = carousel; menuCategoryRepository = menuCategory; }
public CarouselController(ICarouselRepository repository) { _repository = repository; }
public Carousels(ICarouselRepository categoryRepository) { this._carouselsRepo = categoryRepository; }
public CarouselService(ICarouselRepository _carouselRepository) { carouselRepository = _carouselRepository; }
public CarouselBL(ICarouselRepository CarouselRepository) { _CarouselRepository = CarouselRepository; }