Esempio n. 1
0
        public BaseController()
        {
            _accountService = new IdentityAccountService();

            if (_accountService.CurrentUserName != null)
            {
                ViewBag.CurrentGuestName = _accountService.CurrentUserName;
            }
        }
Esempio n. 2
0
 public AccountController(IdentityAccountService accountService)
 {
     _accountService = accountService;
 }
Esempio n. 3
0
 public UserController(IdentityAccountService userService)
 {
     _userService = userService;
 }