// private PasswordHasher<User> _hasher;

        public DashboardController(SharpSeaUsersContext context)
        {
            _context = context;
        }
Exemplo n.º 2
0
 public UserController(SharpSeaUsersContext context)
 {
     _context = context;
     _hasher  = new PasswordHasher <User>();
 }