public LocationsController(ControllerServicesContext context, ILocationApplicationService locationService, IFileSystemGenericRepositoryFactory fileSystemGenericRepositoryFactory)
     : base(context)
 {
     _locationService = locationService;
     _fileSystemGenericRepositoryFactory = fileSystemGenericRepositoryFactory;
     _hostingEnvironment = context.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;
 }
Пример #4
0
 public CountriesController(ILocationApplicationService locationService, IMapper mapper, IFileSystemGenericRepositoryFactory fileSystemGenericRepositoryFactory, IEmailService emailService, AppSettings appSettings)
     : base(mapper, emailService, appSettings)
 {
     _locationService = locationService;
 }
Пример #5
0
 public LocationsController(ILocationApplicationService locationApplicationService)
 {
     _locationApplicationService = locationApplicationService;
 }
 public HouseController(IHouseApplicationService houseApplicationServices,
                        ILocationApplicationService locationApplicationService)
 {
     _houseApplicationService    = houseApplicationServices;
     _locationApplicationService = locationApplicationService;
 }
Пример #7
0
 public TravelMapController(ControllerServicesContext context, ILocationApplicationService service)
     : base(context)
 {
     Service = service;
 }
Пример #8
0
 public TravelMapController(ILocationApplicationService service, IMapper mapper, IEmailService emailService, AppSettings appSettings)
     : base(mapper, emailService, appSettings)
 {
     Service = service;
 }
 public CountriesController(ControllerServicesContext context, ILocationApplicationService locationService)
     : base(context)
 {
     _locationService = locationService;
 }