Esempio n. 1
0
 public SettingService(
     UserManager <User> userManager,
     SettingDefinitionProvider settingDefinitionProvider,
     IWorkContext workContext)
 {
     _userManager = userManager;
     _settingDefinitionProvider = settingDefinitionProvider;
     _workContext = workContext;
 }
 public ManageController(
 UserManager<User> userManager,
 SignInManager<User> signInManager,
 IEmailSender emailSender,
 ISmsSender smsSender,
 ILoggerFactory loggerFactory,
 SettingDefinitionProvider settingDefinitionProvider,
 ISettingService settingService)
 {
     _userManager = userManager;
     _signInManager = signInManager;
     _emailSender = emailSender;
     _smsSender = smsSender;
     _logger = loggerFactory.CreateLogger<ManageController>();
     _settingDefinitionProvider = settingDefinitionProvider;
     _settingService = settingService;
 }
Esempio n. 3
0
 public ManageController(
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     IEmailSender emailSender,
     //  ISmsSender smsSender,
     ILoggerFactory loggerFactory
     , SettingDefinitionProvider settingDefinitionProvider,
     ISettingService settingService,
     IRepository <UserDocuments> userDocuments,
     IConfiguration configuration)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSender   = emailSender;
     // _smsSender = smsSender;
     _logger = loggerFactory.CreateLogger <ManageController>();
     _settingDefinitionProvider = settingDefinitionProvider;
     _settingService            = settingService;
     _userDocuments             = userDocuments;
     _configuration             = configuration;
 }