// private PasswordHasher<User> _hasher;

        public DashboardController(SharpSeaUsersContext context)
        {
            _context = context;
        }
Exemple #2
0
 public UserController(SharpSeaUsersContext context)
 {
     _context = context;
     _hasher  = new PasswordHasher <User>();
 }