Exemple #1
0
 public UserService(UserManager <ApplicationUser> userManager, IUserRepo userRepo, IRoleRepo roleRepo, IOrgRepo orgRepo, ISysRepo sysRepo, IMapper mapper)
 {
     _userMgr  = userManager;
     _userRepo = userRepo;
     _roleRepo = roleRepo;
     _orgRepo  = orgRepo;
     _sysRepo  = sysRepo;
     _mapper   = mapper;
 }
Exemple #2
0
 public SysService(ISysRepo sysRepo, IUserService userService, IMapper mapper)
 {
     _userService = userService;
     _sysRepo     = sysRepo;
     _mapper      = mapper;
 }