示例#1
0
 public UserController(ILegatoUserServiceWorker serviceWorker)
 {
     _serviceWorker = serviceWorker;
     _userManager   = _serviceWorker.GetUserManager();
 }
示例#2
0
 public LegatoUserServiceWorker(IUserRepository userRepo, ILegatoUserManager userManager)
 {
     _userRepository = userRepo;
     _userManager    = userManager;
 }