public BaseController() { _accountService = new IdentityAccountService(); if (_accountService.CurrentUserName != null) { ViewBag.CurrentGuestName = _accountService.CurrentUserName; } }
public AccountController(IdentityAccountService accountService) { _accountService = accountService; }
public UserController(IdentityAccountService userService) { _userService = userService; }