public async Task <IActionResult> Index() { if (this.User != null /* && this._signInManager.IsSignedIn(this.User) */) { var directors = await _directorService.GetDirectorsAsync(); return(View(directors)); } return(RedirectToAction("Login", "Account")); }