Пример #1
0
 public AdminController(RoleManager <IdentityRole> roleManager,
                        UserManager <ApplicationUser> userManager,
                        IUserManipulation adminUserControlsRepository)
 {
     _roleManager    = roleManager;
     _userManager    = userManager;
     _userRepository = adminUserControlsRepository;
 }
Пример #2
0
 /// <summary>
 /// User cotroller constructor
 /// </summary>
 /// <param name="userManipulation"><see cref="IUserManipulation"/></param>
 public UserController(IUserManipulation userManipulation)
 {
     _userManipulation = userManipulation;
 }