public SiteSettingsController(IHostingEnvironment hostingEnvironment) { if (generalSettingsServices == null) { generalSettingsServices = new GeneralSettingsServices(); } _hostingEnvironment = hostingEnvironment; }