Exemple #1
0
        public UserController(IUserLogic userLogic, IMenuLogic menuLogic, IJwtServices jwt, IOptions <AppSettings> appSettings)
        {
            this._jwtServices = jwt;
            this._userService = userLogic;
            this._menuService = menuLogic;
            this._appSettings = appSettings.Value;

            this._userService.ConnectionString = this._appSettings.ConString;
            this._menuService.ConnectionString = this._appSettings.ConString;
        }
Exemple #2
0
 public AuthController(IJwtServices jwtService, IAppUserService appUserService, IMapper mapper)
 {
     _mapper         = mapper;
     _jwtService     = jwtService;
     _appUserService = appUserService;
 }