public IActionResult Index(string message) { var userId = User.FindFirstValue(ClaimTypes.NameIdentifier); DBmanager.AddMessageInfo(message, userId); return(RedirectToAction(nameof(Index))); }