Ejemplo n.º 1
0
 public UserService(IMapper mapper
                    , DbContext dbContext
                    , ILoginInfo loginInfo
                    , IUserRepository userRepository
                    , IRoleUserRepository roleUserRepository
                    , IOrganizeRepository organizeRepository
                    , IUserLatestSelectRepository userLatestSelectRepository
                    , IPasswordHandler passwordHandler)
 {
     _mapper                     = mapper;
     _dbContext                  = dbContext;
     _loginInfo                  = loginInfo;
     _userRepository             = userRepository;
     _roleUserRepository         = roleUserRepository;
     _organizeRepository         = organizeRepository;
     _userLatestSelectRepository = userLatestSelectRepository;
     _passwordHandler            = passwordHandler;
 }
Ejemplo n.º 2
0
 public UserLatestSelectService(IMapper mapper, IUserLatestSelectRepository repository)
 {
     _mapper     = mapper;
     _repository = repository;
 }