예제 #1
0
 public AdminController(UserManager <User> userManager, SignInManager <User> signInManager, ApplicationDbContext _context, IAdminRequestStore _AdminRequestStore,
                        INotificationBox _notificationBox, ILogger <AccountsController> _logger, IUserStore _userStore)
 {
     this.userManager        = userManager;
     this.signInManager      = signInManager;
     this._context           = _context;
     this._AdminRequestStore = _AdminRequestStore;
     this._logger            = _logger;
     this._notificationBox   = _notificationBox;
     this._userStore         = _userStore;
 }
예제 #2
0
 public AccountsController(UserManager <User> userManager, SignInManager <User> signInManager, ApplicationDbContext _context,
                           IUserStore _userStore, IFriendsListStore _FriendListStore, IRequestStore _RequestStore, INotificationBox _notificationBox,
                           IGroupStore GroupStore, ILogger <AccountsController> _logger, IAdminRequestStore _AdminRequestStore)
 {
     this.userManager        = userManager;
     this.signInManager      = signInManager;
     this._context           = _context;
     this._userStore         = _userStore;
     this._FriendListStore   = _FriendListStore;
     this._RequestStore      = _RequestStore;
     this._notificationBox   = _notificationBox;
     this.GroupStore         = GroupStore;
     this._logger            = _logger;
     this._AdminRequestStore = _AdminRequestStore;
     _mapper = new MapperConfiguration(cfg => cfg.AddProfile <EntityMapper>()).CreateMapper();
 }