public UsersController( ILoggerFactory loggerFactory, UserManager <NccUser> userManager, RoleManager <NccRole> roleManager, SignInManager <NccUser> signInManager, NccPermissionService nccUserPermissionService, NccPermissionDetailsService nccPermissionDetailsService, IEmailSender emailSender, ISmsSender smsSender, NccStartupService startupService, INccUserService nccUserService, IMemoryCache memoryCache ) { _logger = loggerFactory.CreateLogger <UsersController>(); _userManager = userManager; _roleManager = roleManager; _signInManager = signInManager; _nccPermissionService = nccUserPermissionService; _nccPermissionDetailsService = nccPermissionDetailsService; _emailSender = emailSender; _smsSender = smsSender; _startupService = startupService; _nccUserService = nccUserService; _cache = memoryCache; }
public AccountController( UserManager <NccUser> userManager, SignInManager <NccUser> signInManager, IEmailSender emailSender, ILogger <AccountController> logger, NccStartupService startupService ) { _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _logger = logger; _startupService = startupService; }
public DashboardController(NccWebSiteService nccWebSiteService, NccPageService pageService, NccPostService postService, NccCategoryService categoryService, INccSettingsService settingsService, RoleManager <NccRole> roleManager, UserManager <NccUser> userManager, NccStartupService startupService, IConfiguration configuration, IHostingEnvironment hostingEnv, NccModuleService moduleService, ILoggerFactory loggarFactory) { _webSiteService = nccWebSiteService; _pageService = pageService; _postService = postService; _categoryService = categoryService; _settingsService = settingsService; _roleManager = roleManager; _userManager = userManager; _startupService = startupService; _configuration = configuration; _hostingEnvironment = hostingEnv; _moduleService = moduleService; _logger = loggarFactory.CreateLogger <AdminController>(); }
public AccountController( UserManager <NccUser> userManager, SignInManager <NccUser> signInManager, IEmailSender emailSender, IMediator mediator, ILoggerFactory factory, NccStartupService startupService, NccPermissionService nccPermissionService ) { _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _mediator = mediator; _logger = factory.CreateLogger <AccountController>(); _startupService = startupService; _nccPermissionService = nccPermissionService; }
public UsersController( ILoggerFactory loggerFactory, UserManager <NccUser> userManager, RoleManager <NccRole> roleManager, SignInManager <NccUser> signInManager, //IOptions<IdentityCookieOptions> identityCookieOptions, IEmailSender emailSender, ISmsSender smsSender, NccStartupService startupService ) { _logger = loggerFactory.CreateLogger <UsersController>(); _userManager = userManager; _roleManager = roleManager; _signInManager = signInManager; //_identityCookieOptions = identityCookieOptions; _emailSender = emailSender; _smsSender = smsSender; _startupService = startupService; }
public AccountController( UserManager <NccUser> userManager, SignInManager <NccUser> signInManager, IEmailSender emailSender, IMediator mediator, ILogger <AccountController> logger, NccStartupService startupService, NccPermissionService nccPermissionService, NccUserService nccUserService, IMemoryCache memoryCache ) { _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _mediator = mediator; _logger = logger; _startupService = startupService; _nccPermissionService = nccPermissionService; _nccUserService = nccUserService; _memoryCache = memoryCache; }