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

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