public SidebarViewComponent(IBlogApplicationService blogService, IFileSystemGenericRepositoryFactory fileSystemRepository, AppSettings appSettings, IWebHostEnvironment hostingEnvironment)
 {
     FileSystemRepository = fileSystemRepository;
     _blogService         = blogService;
     _appSettings         = appSettings;
     _hostingEnvironment  = hostingEnvironment;
 }
 public GalleryController(ControllerServicesContext context, IBlogApplicationService blogService, IFileSystemGenericRepositoryFactory fileSystemGenericRepositoryFactory)
     : base(context)
 {
     _blogService = blogService;
     _fileSystemGenericRepositoryFactory = fileSystemGenericRepositoryFactory;
     _hostingEnvironment = context.HostingEnvironment;
 }
Esempio n. 3
0
 public CarouselViewComponent(IBlogApplicationService blogService, ICarouselItemApplicationService carouselItemService, IFileSystemGenericRepositoryFactory fileSystemRepository, AppSettings appSettings, IWebHostEnvironment hostingEnvironment)
 {
     _fileSystemRepository = fileSystemRepository;
     _blogService          = blogService;
     _carouselItemService  = carouselItemService;
     _appSettings          = appSettings;
     _hostingEnvironment   = hostingEnvironment;
 }
 public HomeController(IBlogApplicationService blogService, ILocationApplicationService locationService, IFileSystemGenericRepositoryFactory fileSystemGenericRepositoryFactory, IMapper mapper, IEmailService emailService, IMailingListApplicationService mailingListService, AppSettings appSettings)
     : base(mapper, emailService, appSettings)
 {
     if (blogService == null)
     {
         throw new ArgumentNullException("blogService");
     }
     _blogService     = blogService;
     _locationService = locationService;
     _fileSystemGenericRepositoryFactory = fileSystemGenericRepositoryFactory;
     _mailingListService = mailingListService;
 }
 public HomeController(ControllerServicesContext context, IBlogApplicationService blogService, ILocationApplicationService locationService, IFileSystemGenericRepositoryFactory fileSystemGenericRepositoryFactory, IMapper mapper, IEmailService emailService, IMailingListApplicationService mailingListService, IWebHostEnvironment hostingEnvironment, JsonNavigationService navigationService)
     : base(context, navigationService)
 {
     if (blogService == null)
     {
         throw new ArgumentNullException("blogService");
     }
     _blogService     = blogService;
     _locationService = locationService;
     _fileSystemGenericRepositoryFactory = fileSystemGenericRepositoryFactory;
     _mailingListService = mailingListService;
     _hostingEnvironment = hostingEnvironment;
 }
Esempio n. 6
0
 public LatestblogPostsViewComponent(IBlogApplicationService blogService)
 {
     _blogService = blogService;
 }
 public BlogController(IBlogApplicationService blogApplicationService)
 {
     this.blogApplicationService = blogApplicationService;
 }
Esempio n. 8
0
 public BlogController(ControllerServicesContext context, IBlogApplicationService blogService)
     : base(context)
 {
     _blogService = blogService;
 }
Esempio n. 9
0
 public BlogController(IBlogApplicationService blogService, IMapper mapper, IEmailService emailService, AppSettings appSettings)
     : base(mapper, emailService, appSettings)
 {
     _blogService = blogService;
 }
Esempio n. 10
0
 public CarouselViewComponent(IBlogApplicationService blogService, ICarouselItemApplicationService carouselItemService, IFileSystemGenericRepositoryFactory fileSystemRepository)
 {
     _fileSystemRepository = fileSystemRepository;
     _blogService          = blogService;
     _carouselItemService  = carouselItemService;
 }
Esempio n. 11
0
 public GalleryController(IBlogApplicationService blogService, IMapper mapper, IFileSystemGenericRepositoryFactory fileSystemGenericRepositoryFactory, IEmailService emailService, AppSettings appSettings)
     : base(mapper, emailService, appSettings)
 {
     _blogService = blogService;
     _fileSystemGenericRepositoryFactory = fileSystemGenericRepositoryFactory;
 }
 public SidebarViewComponent(IBlogApplicationService blogService, IFileSystemGenericRepositoryFactory fileSystemRepository)
 {
     FileSystemRepository = fileSystemRepository;
     _blogService         = blogService;
 }