Example #1
0
 public UserService(IDatabase database,
                    UserIdentityService userIdentityService,
                    UserManager <AnfUser> userManager)
 {
     this.userIdentityService = userIdentityService;
     this.database            = database;
     this.userManager         = userManager;
 }
Example #2
0
 public UserService(ILockerFactory lockerFactory,
                    ICacheVisitor cacheVisitor,
                    UserIdentityService userIdentityService,
                    UserManager <AnfUser> userManager)
     : base(lockerFactory, cacheVisitor)
 {
     this.userIdentityService = userIdentityService;
     this.userManager         = userManager;
 }