Exemple #1
0
        public IActionResult Index()
        {
            var name = User.Claims.Where(c => c.Type == ClaimTypes.Name)
                       .Select(c => c.Value).SingleOrDefault();

            _requestCollectorService.StopAsync(new System.Threading.CancellationToken());
            return(View());
        }
Exemple #2
0
 public IActionResult Login()
 {
     _requestCollectorService.StopAsync(new System.Threading.CancellationToken());
     return(View());
 }