Example #1
0
 public ValueController(
     ISysUserRepo sysUserRepo,
     IUnitOfWork unitOfWork,
     IMapper mapper)
 {
     this._sysUserRepo = sysUserRepo;
     this._unitOfWork  = unitOfWork;
     this._mapper      = mapper;
 }
Example #2
0
 public OauthController(IOptions <AppAuthenticationSettings> appSettings,
                        ISysUserRepo sysUserRepo,
                        ISysUserActionLogRepo sysUserActionLogRepo,
                        IUnitOfWork unitOfWork
                        )
 {
     this._appSettings          = appSettings.Value;
     this._sysUserRepo          = sysUserRepo;
     this._sysUserActionLogRepo = sysUserActionLogRepo;
     this._unitOfWork           = unitOfWork;
 }
Example #3
0
 public SysUserController(
     ISysUserRepo sysUserRepo,
     IUserRoleRepo userRoleRepo,
     IMapper mapper,
     IUnitOfWork unitOfWork
     )
 {
     this._sysUserRepo  = sysUserRepo;
     this._userRoleRepo = userRoleRepo;
     this._mapper       = mapper;
     this._unitOfWork   = unitOfWork;
 }