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; }