Beispiel #1
0
 public SettingsController(IProductCategoryManager categoryService,
                           RoleManager <ApplicationRole> rolemanager,
                           IApplicationGroupManager groupManager
                           )
 {
     _categoryService = categoryService;
     _rolemanager     = rolemanager;
     _groupManager    = groupManager;
 }
Beispiel #2
0
 public UsersController(UserManager <ApplicationUser> userManager,
                        RoleManager <ApplicationRole> roleManager,
                        IApplicationGroupManager groupManager,
                        IUserService service)
 {
     _userManager  = userManager;
     _roleManager  = roleManager;
     _service      = service;
     _groupManager = groupManager;
 }
 public ManagerController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     RoleManager <ApplicationRole> roleManager,
     IConfiguration configuration,
     IOptions <AppSettings> appSettings,
     IPasswordHasher <ApplicationUser> passwordHasher,
     IHostingEnvironment hostingEnvironment,
     IApplicationGroupManager application
     )
 {
     _userManager        = userManager;
     _signInManager      = signInManager;
     _roleManager        = roleManager;
     _configuration      = configuration;
     _appSettings        = appSettings.Value;
     _passwordHasher     = passwordHasher;
     _hostingEnvironment = hostingEnvironment;
     _application        = application;
 }